From patchwork Wed Feb 6 08:26:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 31319 Received: (qmail 70637 invoked by alias); 6 Feb 2019 08:26:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 70576 invoked by uid 89); 6 Feb 2019 08:26:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=bye X-HELO: mx0a-001b2d01.pphosted.com To: GNU C Library From: Stefan Liebler Subject: [PATCH COMMITTED] S390: Fix introduction of __wmemcmp and weak wmemcmp symbols. Date: Wed, 6 Feb 2019 09:26:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 x-cbid: 19020608-0028-0000-0000-000003452864 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19020608-0029-0000-0000-0000240333DF Message-Id: <48356f3b-c3b6-8ba6-8e05-6fab6f562e82@linux.ibm.com> Hi, the recent commit 65f7767a914144ae303f7b9ae81865061793dcb9 has introduced __wmemcmp and the weak alias wmemcmp. This commit also introduces those symbols if glibc is build with CFLAGS="-march=z13" where the ifunc is omitted. Bye, Stefan ChangeLog: * sysdeps/s390/wmemcmp-vx.S: Add strong alias to __wmemcmp and weak alias to wmemcmp. commit 442b02c34265f4ac7b94b1558ada9f687a3eae75 Author: Stefan Liebler Date: Tue Feb 5 13:47:31 2019 +0100 S390: Fix introduction of __wmemcmp and weak wmemcmp symbols. The recent commit 65f7767a914144ae303f7b9ae81865061793dcb9 has introduced __wmemcmp and the weak alias wmemcmp. This patch also introduces those symbols if glibc is build with CFLAGS="-march=z13" where the ifunc is omitted. ChangeLog: * sysdeps/s390/wmemcmp-vx.S: Add strong alias to __wmemcmp and weak alias to wmemcmp. diff --git a/sysdeps/s390/wmemcmp-vx.S b/sysdeps/s390/wmemcmp-vx.S index f40603bfb5..1baf9133c3 100644 --- a/sysdeps/s390/wmemcmp-vx.S +++ b/sysdeps/s390/wmemcmp-vx.S @@ -149,6 +149,7 @@ ENTRY(WMEMCMP_Z13) END(WMEMCMP_Z13) # if ! HAVE_WMEMCMP_IFUNC -strong_alias (WMEMCMP_Z13, wmemcmp) +strong_alias (WMEMCMP_Z13, __wmemcmp) +weak_alias (__wmemcmp, wmemcmp) # endif #endif