about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-06-20 07:48:20 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-20 07:48:20 +0530
commit3ef6b85059cdd52096625d98c4ce9259854cb8bb (patch)
tree1a187ab10962c293d888c3063d5ee8b22ad0dc9d /sysdeps/ieee754/dbl-64
parentd8c2869d4450d54935c3410ad3093d51b5d85f79 (diff)
downloadglibc-3ef6b85059cdd52096625d98c4ce9259854cb8bb.tar.gz
glibc-3ef6b85059cdd52096625d98c4ce9259854cb8bb.tar.xz
glibc-3ef6b85059cdd52096625d98c4ce9259854cb8bb.zip
[BZ #6803] Set errno for scalbln, scalbn
Errno is not set and the testcases will fail.

Now the scalbln-aliases are removed in i386/m68
and the wrappers are used when calling the scalbln-functions.

On ia64 only scalblnf has its own implementation.
For scalbln and scalblnl the ieee754/dbl-64 and ieee754/ldbl-96 are used, thus
the wrappers are needed, too.
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r--sysdeps/ieee754/dbl-64/s_scalbln.c2
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_scalbln.c b/sysdeps/ieee754/dbl-64/s_scalbln.c
index 874b98e4cf..32cd12e3b0 100644
--- a/sysdeps/ieee754/dbl-64/s_scalbln.c
+++ b/sysdeps/ieee754/dbl-64/s_scalbln.c
@@ -58,8 +58,6 @@ __scalbln (double x, long int n)
   SET_HIGH_WORD (x, (hx & 0x800fffff) | (k << 20));
   return x * twom54;
 }
-weak_alias (__scalbln, scalbln)
 #ifdef NO_LONG_DOUBLE
 strong_alias (__scalbln, __scalblnl)
-weak_alias (__scalbln, scalblnl)
 #endif
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c
index c00db68ddf..8dce51e928 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c
@@ -55,8 +55,6 @@ __scalbln (double x, long int n)
 	INSERT_WORDS64(x,(ix&INT64_C(0x800fffffffffffff))|(k<<52));
 	return x*twom54;
 }
-weak_alias (__scalbln, scalbln)
 #ifdef NO_LONG_DOUBLE
 strong_alias (__scalbln, __scalblnl)
-weak_alias (__scalbln, scalblnl)
 #endif