aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/fpu/s_scalbn.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-16 22:43:09 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-27 23:09:38 -0400
commit413a8f40ecad7b78ceed0c098832004d4f3cb16e (patch)
tree2855e590d3dc09f367230eb4e9cdd82165ddc41a /sysdeps/ia64/fpu/s_scalbn.c
parent16aca1f7711898a516c63b78528d33afa46213a2 (diff)
downloadglibc-413a8f40ecad7b78ceed0c098832004d4f3cb16e.tar
glibc-413a8f40ecad7b78ceed0c098832004d4f3cb16e.tar.gz
glibc-413a8f40ecad7b78ceed0c098832004d4f3cb16e.tar.bz2
glibc-413a8f40ecad7b78ceed0c098832004d4f3cb16e.zip
ia64: math: add __scalbn* aliases
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>
Diffstat (limited to 'sysdeps/ia64/fpu/s_scalbn.c')
-rw-r--r--sysdeps/ia64/fpu/s_scalbn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ia64/fpu/s_scalbn.c b/sysdeps/ia64/fpu/s_scalbn.c
index 25cfad32ad..23e8d818b2 100644
--- a/sysdeps/ia64/fpu/s_scalbn.c
+++ b/sysdeps/ia64/fpu/s_scalbn.c
@@ -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)