From patchwork Thu Jul 6 17:20:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Berat X-Patchwork-Id: 1804441 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=LwZix2/u; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QxjxD6j8bz20ZQ for ; Fri, 7 Jul 2023 03:21:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D0ECF38560A7 for ; Thu, 6 Jul 2023 17:21:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0ECF38560A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688664077; bh=G6fk+5V7HjWfTuQlXShb0UYhosF1PXg2TBd6ZaGys/I=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=LwZix2/uODju7Bl82WtaptDrRJb2CeLOtETe4DthzzRGBTtUhetvCA57Y79id6nRD EK3TsJRwa9dWvD69QDhDyF1k0jLpxWoTI66xqnKLf4TdzelJVg+tEmubWNA93vIAko x/3DTK5lr4QvvX6x5K80cJ4FecgwegVFyXuWlnFc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 150733858D33 for ; Thu, 6 Jul 2023 17:21:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 150733858D33 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-30-sMl2ZyBmOoiBdik_keTpuQ-1; Thu, 06 Jul 2023 13:20:57 -0400 X-MC-Unique: sMl2ZyBmOoiBdik_keTpuQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ADE46882389; Thu, 6 Jul 2023 17:20:56 +0000 (UTC) Received: from Nymeria-redhat.redhat.com (unknown [10.42.28.234]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EA433145414B; Thu, 6 Jul 2023 17:20:55 +0000 (UTC) To: libc-alpha@sourceware.org, Andreas Schwab Cc: siddhesh@gotplt.org, fberat@redhat.com Subject: [PATCH] sysdeps: Add missing hidden definitions for i386 Date: Thu, 6 Jul 2023 19:20:47 +0200 Message-ID: <20230706172047.528695-1-fberat@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Fr=C3=A9d=C3=A9ric_B=C3=A9rat_via_Libc-alpha?= From: Frederic Berat Reply-To: =?utf-8?b?RnLDqWTDqXJpYyBCw6lyYXQ=?= Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Add missing libc_hidden_builtin_def for memset_chk and MEMCPY_CHK on i386. --- sysdeps/i386/memcpy.S | 1 + sysdeps/i386/memset.S | 1 + 2 files changed, 2 insertions(+) diff --git a/sysdeps/i386/memcpy.S b/sysdeps/i386/memcpy.S index a6512b453e..e48396ea21 100644 --- a/sysdeps/i386/memcpy.S +++ b/sysdeps/i386/memcpy.S @@ -46,6 +46,7 @@ ENTRY (MEMCPY_CHK) cmpl %eax, 16(%esp) jb HIDDEN_JUMPTARGET (__chk_fail) END (MEMCPY_CHK) +libc_hidden_builtin_def (MEMCPY_CHK) #endif ENTRY (MEMCPY) PUSH (%esi) diff --git a/sysdeps/i386/memset.S b/sysdeps/i386/memset.S index 4a107d604b..855720822e 100644 --- a/sysdeps/i386/memset.S +++ b/sysdeps/i386/memset.S @@ -40,6 +40,7 @@ ENTRY (__memset_chk) cmpl %eax, 16(%esp) jb HIDDEN_JUMPTARGET (__chk_fail) END (__memset_chk) +libc_hidden_builtin_def (__memset_chk) #endif ENTRY (memset) PUSH (%edi)