aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-05-12 16:37:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-05-12 16:37:12 +0000
commite1d6e08dd6f9298ed7f61ef12c17ca83cb761f37 (patch)
tree57bc0b3245f7304bc73615a70ae3f20de974646b /sysdeps
parent1d2bc2eae969543b89850e35e532f3144122d80a (diff)
downloadglibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.zip
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.gz
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.bz2
Remove useless SPARC signbit aliases.
The SPARC implementations of __signbit* functions have aliases signbit, signbitf, signbitl. These are useless, as they aren't exported from the shared libraries (only the __signbit* functions are exported, to be used by the type-generic signbit macro with older compilers). This patch removes the useless aliases. Tested (compilation only) with build-many-glibcs.py for sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias. (signbitf): Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit): Likewise. (signbitl): Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf): Likewise. * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise. (signbitl): Likewise. * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_signbit.S2
-rw-r--r--sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S3
-rw-r--r--sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S2
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_signbit.S2
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_signbitf.S1
5 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/s_signbit.S b/sysdeps/sparc/sparc32/fpu/s_signbit.S
index f796764..9565170 100644
--- a/sysdeps/sparc/sparc32/fpu/s_signbit.S
+++ b/sysdeps/sparc/sparc32/fpu/s_signbit.S
@@ -22,11 +22,9 @@ ENTRY (__signbit)
retl
srl %o0, 31, %o0
END (__signbit)
-weak_alias (__signbit, signbit)
/* On 32-bit the double version will also always work for
single-precision since in both cases the word with the
sign bit in it is passed always in register %o0. */
strong_alias (__signbit, __signbitf)
hidden_def (__signbitf)
-weak_alias (__signbitf, signbitf)
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S
index e69550c..b8ff64a 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S
@@ -2,14 +2,11 @@
SPARC_ASM_VIS3_IFUNC(signbit)
-weak_alias (__signbit, signbit)
-
/* On 64-bit the double version will also always work for
long-double-precision since in both cases the word with the
sign bit in it is passed always in register %f0. */
strong_alias (__signbit, __signbitl)
hidden_def (__signbitl)
-weak_alias (__signbitl, signbitl)
# undef weak_alias
# define weak_alias(a, b)
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S
index c35c79f..d57e999 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S
@@ -2,8 +2,6 @@
SPARC_ASM_VIS3_IFUNC(signbitf)
-weak_alias (__signbitf, signbitf)
-
# undef weak_alias
# define weak_alias(a, b)
diff --git a/sysdeps/sparc/sparc64/fpu/s_signbit.S b/sysdeps/sparc/sparc64/fpu/s_signbit.S
index 6e16736..979917b 100644
--- a/sysdeps/sparc/sparc64/fpu/s_signbit.S
+++ b/sysdeps/sparc/sparc64/fpu/s_signbit.S
@@ -24,11 +24,9 @@ ENTRY (__signbit)
retl
srl %o0, 31, %o0
END (__signbit)
-weak_alias (__signbit, signbit)
/* On 64-bit the double version will also always work for
long-double-precision since in both cases the word with the
sign bit in it is passed always in register %f0. */
strong_alias (__signbit, __signbitl)
hidden_def (__signbitl)
-weak_alias (__signbitl, signbitl)
diff --git a/sysdeps/sparc/sparc64/fpu/s_signbitf.S b/sysdeps/sparc/sparc64/fpu/s_signbitf.S
index 82aa9f4..cb96983 100644
--- a/sysdeps/sparc/sparc64/fpu/s_signbitf.S
+++ b/sysdeps/sparc/sparc64/fpu/s_signbitf.S
@@ -24,4 +24,3 @@ ENTRY (__signbitf)
retl
srl %o0, 31, %o0
END (__signbitf)
-weak_alias (__signbitf, signbitf)