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 Netto X-Patchwork-Id: 9600 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(-) 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)