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: 1037360 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-99800-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="LVIWT3KT"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43vZL86TZJz9sML for ; Wed, 6 Feb 2019 19:26:56 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:mime-version:content-type :message-id; q=dns; s=default; b=jEx0vVZeawdHaMNgEEeVjmbOQvfL1TG GenMpdEv8GspkesKjlGKtQFxCxyk1efOZgE0B963z4O8XHNY4kG0Xj7S+oOpJ8XF 6Lz9xIQx7cmDVj2UWRgKgwkSOMIv+efkuM8lvrgO+QPZl2iN+nfRKqvSxF9waZ1z SHz3PAyKQSXg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:mime-version:content-type :message-id; s=default; bh=DT3FtPBY50//MG2miAealgb1tQU=; b=LVIWT 3KTGPIT0QBBJrqkTKaRbzmLtj4CgdkTXz3xJ0f49zPGFid1p/mRovZbkeUqhcBjl fsaiCrkSxE/tzJeklMNCWFrRJuNO7drKD0t4z6Z1zmkrzNlsg3lTyjsbBV18QJh1 CTq/+4Xm4G4jqhev5y0alYtJFNDJwGYplZ6eM0= 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