aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-02 15:19:45 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-10 10:56:24 -0200
commit71bbdde7f53951f6a1d59492f36f80769090a8b3 (patch)
tree8579ce5fc64595dde5ce8432a1b384fe4d3cf6bf
parent2fee269248c6ef303569d9ac8fec3a27676520e0 (diff)
downloadglibc-71bbdde7f53951f6a1d59492f36f80769090a8b3.tar
glibc-71bbdde7f53951f6a1d59492f36f80769090a8b3.tar.gz
glibc-71bbdde7f53951f6a1d59492f36f80769090a8b3.tar.bz2
glibc-71bbdde7f53951f6a1d59492f36f80769090a8b3.zip
Fix nearbyintl linkage for ia64 (bug 19219)
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.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/ia64/fpu/s_nearbyintl.S5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0350652bd0..833cdcc01f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ [BZ #19219]
+ * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
+ weak_alias to nearbyintl.
+
2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
* sysdeps/aarch64/bits/string.h: New file.
diff --git a/sysdeps/ia64/fpu/s_nearbyintl.S b/sysdeps/ia64/fpu/s_nearbyintl.S
index ee6159c67c..83adc07896 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)