aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64
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/sparc/sparc64
parent1d2bc2eae969543b89850e35e532f3144122d80a (diff)
downloadglibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.gz
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.bz2
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.zip
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/sparc/sparc64')
-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
4 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S
index e69550c474..b8ff64a547 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 c35c79f88a..d57e999b90 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 6e16736e39..979917b5d0 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 82aa9f4791..cb96983868 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)