summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32
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/sparc32
parent1d2bc2eae969543b89850e35e532f3144122d80a (diff)
downloadglibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.gz
glibc-e1d6e08dd6f9298ed7f61ef12c17ca83cb761f37.tar.xz
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/sparc32')
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_signbit.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/s_signbit.S b/sysdeps/sparc/sparc32/fpu/s_signbit.S
index f7967647b1..956517022f 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)