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.
This commit is contained in:
Joseph Myers 2017-05-12 16:37:12 +00:00
parent 1d2bc2eae9
commit e1d6e08dd6
6 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,16 @@
2017-05-12 Joseph Myers <joseph@codesourcery.com>
* 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.
2017-05-12 Florian Weimer <fweimer@redhat.com>
[BZ #21386]

View File

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

View File

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

View File

@ -2,8 +2,6 @@
SPARC_ASM_VIS3_IFUNC(signbitf)
weak_alias (__signbitf, signbitf)
# undef weak_alias
# define weak_alias(a, b)

View File

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

View File

@ -24,4 +24,3 @@ ENTRY (__signbitf)
retl
srl %o0, 31, %o0
END (__signbitf)
weak_alias (__signbitf, signbitf)