From patchwork Sun Nov 8 22:47:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 56177 Delivered-To: patch@linaro.org Received: by 10.112.1.169 with SMTP id 9csp164535lbn; Sun, 8 Nov 2015 14:47:25 -0800 (PST) X-Received: by 10.68.235.40 with SMTP id uj8mr34961289pbc.95.1447022845378; Sun, 08 Nov 2015 14:47:25 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id cc4si18045484pbc.36.2015.11.08.14.47.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Nov 2015 14:47:25 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-64817-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libc-alpha-return-64817-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-64817-patch=linaro.org@sourceware.org; dkim=pass header.i=@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=gpVKuwVcX9q8z0m/bdJGLXos9ClWWYXPVuo56YwuoRBjI6T29xvqQ FG7DMyde5dB+A6y4ox6HK1fqmrucjiueD+8KzJSS+amPNeC3F8OK9EsBhhBXh3Ii rh2WKD2ZHUhynnGfILrmTmX8RuM8wIZbWTJDRAeAHXzbyCPCzVCsps= 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:from:to:subject:date:message-id; s=default; bh=5kDCHJwyo/FiIL8byf84/bBt8O8=; b=Jv1f2WWjUJBKU9shNJOc31SbKgoY Wno2cRg/O5+BkZys5HpznqNXi9SEO4hBXfPZOg1mvW+wt0sFGCofBqxJ6RDWQ5TC qTCyp7r1I31JeLHOndSbP/k4GHRcnZ/DLsKG6Muj65EL4gbsA5ezxXZ4BwKD0MC5 hdWxzfaThz4xxPk= Received: (qmail 45735 invoked by alias); 8 Nov 2015 22:47:14 -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 45721 invoked by uid 89); 8 Nov 2015 22:47:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f181.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=7q2CJbj9FNGulTwRmG1Rq4TvJZssmJ//ru68q87TXuA=; b=cfQRYvFsMFsb101PtY/UV79xEFGLEd609jYr9HoV33hxRjnyiCkl+yJLjz8JRwwz93 B++HFBXhH3LxOSWKcOanK8XBt+dHQoB1fXL38/6yITOB6tMnVfFwF+Cjiv9kagNH6Zlw BjNHbLfIBpEO+hKkQ9Qhi8uqGWecyVaq5sLXoK29+QDXbWRJ7eSsjDol+oTt7Yy/eR7L ttaydcHyazcBWXVX4XzNEtb6MyzOxckglIYpCojdGoAwmzUMH+RW7v/eOwh/PonAEjaZ Kd18FwYcffRUvo6xXpkXk14gy3fYyUsAABNY2PCthouP/IERES/5QWHNZ3e4wfcAWf+E mPlA== X-Gm-Message-State: ALoCoQlJLQRMZTkgeKhSQVzBSC4G9WTTKeP/aO2TIeLbq0KMnLYY6QxKUrAxAOnvwIMucQW62l5R X-Received: by 10.129.0.8 with SMTP id 8mr9705545ywa.81.1447022830520; Sun, 08 Nov 2015 14:47:10 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] Fix nearbyintl linkage for ia64 (bug 19219) Date: Sun, 8 Nov 2015 20:47:02 -0200 Message-Id: <1447022822-14836-1-git-send-email-adhemerval.zanella@linaro.org> GLIBC fails to build for ia64 since commit d0d286d32dda654f8983e8fe77bca0a2cda2051b. It is because this commit uses the internal definition for nearbyintl, but ia64 specialized implementation (sysdeps/ia64/fpu/s_nearbyintl.S) does not define it. Tested with a ia64 build. [BZ #19219] * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and weak_alias to nearbyintl. --- sysdeps/ia64/fpu/s_nearbyintl.S | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) -- 1.9.1 diff --git a/sysdeps/ia64/fpu/s_nearbyintl.S b/sysdeps/ia64/fpu/s_nearbyintl.S index ee6159c..83adc07 100644 --- a/sysdeps/ia64/fpu/s_nearbyintl.S +++ b/sysdeps/ia64/fpu/s_nearbyintl.S @@ -99,7 +99,7 @@ fNormX = f10 // So input is an integer value already. .section .text -GLOBAL_LIBM_ENTRY(nearbyintl) +GLOBAL_LIBM_ENTRY(__nearbyintl) { .mfi getf.exp rSignexp = f8 // Get signexp, recompute if unorm @@ -214,4 +214,5 @@ RINT_NOT_ROUND_NEAREST: } ;; -GLOBAL_LIBM_END(nearbyintl) +GLOBAL_LIBM_END(__nearbyintl) +weak_alias (__nearbyintl, nearbyintl)