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: 541502 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 792B1140D5F for ; Mon, 9 Nov 2015 09:47:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=yJwzdQhS; dkim-atps=neutral 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=j5+gyAkAp/cOuxVHAU00CwXp/+n3C50ZH0b/la18HVkItQQzcAp5K fGFtUGbOfhdAfn/kytHVKkJrbxDpDXHD8d5klCioNQlbbiUHbEnGyWB5n6CntS7i NtpaNmD7c18cal0YvtbyGgEnz/+5PuXxyFeNkg1VlhGSNre1FgNHRc= 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=yJwzdQhSeA99NOlRYJPZunnXejxj Hr5i2H1vM4Ca2X9Bdwufzg0oCk2GEoSgmy7j2Y+2r4uHwC/umRCGzUZh0hEH2sns hw/DsO0pVh/mFSSiPTk6n/GF8XFpfVGdj+EfjyLZLMq8VJqWSP8C3816bZOh4HS9 dL5WI+WRjLuPBMk= 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)