From patchwork Tue Nov 28 00:02:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 841911 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-87585-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="i1Ayn2Cx"; 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 3ym3kv2x4Rz9s1h for ; Tue, 28 Nov 2017 11:02:31 +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:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=ov6mKx+ZWY4XLv1S//+e2W5zwcdkE xL6wPhlGv+d+k25IV6TxcokXb3uzLq4Vipw3aoL6ofCzspxmiThWVc8qzp5Ja8Vz Y46hb1rlVEbZhbZWLHOVLPgISqgLUxlaqMBqw4+moMWke/pVrkb90w68t2nalnmL Bd69qHxFVIfQBc= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=K1zjn6gv/bb7dGzALUQhlmslLJk=; b=i1A yn2Cx7MIMJ/nWgf7UM50DvmG7NX81xIoAVVVsdhfiyEOTaM8rmRCSsbGVlhRSxOb soee5NctzHN0h3kjJYTfqlGE7+eA18/Lm7e4GrHV40v95puIK12YceP2A9FYUXuQ 0jp9ceeD2v+abJIxfjUZdLO26BMGM0p3u4vU62dk= Received: (qmail 100731 invoked by alias); 28 Nov 2017 00:02:12 -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 100662 invoked by uid 89); 28 Nov 2017 00:02:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Tue, 28 Nov 2017 00:02:02 +0000 From: Joseph Myers To: Subject: Support ldbl-opt libm_alias_double use from .S files [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) This patch makes the ldbl-opt libm_alias_double implementation support use from .S sources, by adding a semicolon after its use of weak_alias. Tested (compilation only) with build-many-glibcs.py for alpha-linux-gnu, in conjunction with a patch introducing uses of libm_alias_double in alpha .S files. Committed. 2017-11-28 Joseph Myers * sysdeps/ieee754/ldbl-opt/libm-alias-double.h (libm_alias_double_r): Add semicolon after weak_alias call. diff --git a/sysdeps/ieee754/ldbl-opt/libm-alias-double.h b/sysdeps/ieee754/ldbl-opt/libm-alias-double.h index 4c22ffb..f98e9d5 100644 --- a/sysdeps/ieee754/ldbl-opt/libm-alias-double.h +++ b/sysdeps/ieee754/ldbl-opt/libm-alias-double.h @@ -41,7 +41,7 @@ (where there is one name per format, not per type) or for obsolescent functions not provided for _FloatN types. */ #define libm_alias_double_r(from, to, r) \ - weak_alias (from ## r, to ## r) \ + weak_alias (from ## r, to ## r); \ LONG_DOUBLE_COMPAT_CHOOSE_libm_ ## to ## l ## r \ (compat_symbol (libm, \ from ## r, \