]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
ia64: math: add __scalbn* aliases
authorMike Frysinger <vapier@gentoo.org>
Tue, 17 Apr 2012 02:43:09 +0000 (22:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 03:09:38 +0000 (23:09 -0400)
All other ports have __scalbn* aliases pointing back to scalbn*, but
the ia64 code had omitted them.  This didn't really matter as none
of the common code called them, but after a recent update, that's no
longer true.  Add the aliases needed by some common code to fix link
errors with libm due to them missing.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ChangeLog.ia64
sysdeps/ia64/fpu/s_scalbn.c
sysdeps/ia64/fpu/s_scalbnf.c
sysdeps/ia64/fpu/s_scalbnl.c

index 83ae6bf57ddd78f26ccf9c8f21f65bbbbdb2e1d1..0d81ccdea4af3b629787a9af6a334dea5e75823c 100644 (file)
@@ -1,3 +1,12 @@
+2012-04-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/ia64/fpu/s_scalbn.c (__scalbn): Rename from scalbn.
+       Add weak alias from scalbn to __scalbn.
+       * sysdeps/ia64/fpu/s_scalbnf.c (__scalbnf): Rename from scalbnf.
+       Add weak alias from scalbnf to __scalbnf.
+       * sysdeps/ia64/fpu/s_scalbnl.c (__scalbnl): Rename from scalbnl.
+       Add weak alias from scalbnl to __scalbnl.
+
 2012-04-27  Mike Frysinger  <vapier@gentoo.org>
 
        * sysdeps/ia64/fpu/s_matherrf.c: Delete __STDC__.
index 25cfad32ad9a5b157df7bd02989e0243a11d0c4b..23e8d818b2efa432755da30e48766c90a5ed6867 100644 (file)
@@ -45,7 +45,7 @@
 double __libm_scalbn(double, int, int);
 
 
-double scalbn(double x, int n)
+double __scalbn(double x, int n)
 {
 
 #ifdef SIZE_INT_64
@@ -59,3 +59,5 @@ double scalbn(double x, int n)
 #endif
 
 }
+
+weak_alias (__scalbn, scalbn)
index deab018a3efe0e4042fa8365e10eddc32f9a4955..ec2582cddc6e07f7bca26470ec382a3a4291bcd2 100644 (file)
@@ -45,7 +45,7 @@
 float __libm_scalbnf(float, int, int);
 
 
-float scalbnf(float x, int n)
+float __scalbnf(float x, int n)
 {
 
 #ifdef SIZE_INT_64
@@ -59,3 +59,5 @@ float scalbnf(float x, int n)
 #endif
 
 }
+
+weak_alias (__scalbnf, scalbnf)
index cfd078bfc9b9461f78daf6c732f10e54d33d4f00..73ffb904b7819ed802408b01cfd807f2b15183a6 100644 (file)
@@ -45,7 +45,7 @@
 long double __libm_scalbnl(long double, int, int);
 
 
-long double scalbnl(long double x, int n)
+long double __scalbnl(long double x, int n)
 {
 
 #ifdef SIZE_INT_64
@@ -59,3 +59,5 @@ long double scalbnl(long double x, int n)
 #endif
 
 }
+
+weak_alias (__scalbnl, scalbnl)