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>
This commit is contained in:
Mike Frysinger 2012-04-16 22:43:09 -04:00
parent 16aca1f771
commit 413a8f40ec
4 changed files with 18 additions and 3 deletions

View 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__.

View 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)

View 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)

View 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)