about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-30 00:43:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-30 00:43:28 +0000
commit18305fba5575a09063652014cfc483b898d8bdcd (patch)
tree2a8faec3eefea2b48d706d801595a1047130f5c8
parent3e5efdbdbef923276f3113a5bc52e0b46aabac57 (diff)
downloadglibc-18305fba5575a09063652014cfc483b898d8bdcd.tar.gz
glibc-18305fba5575a09063652014cfc483b898d8bdcd.tar.xz
glibc-18305fba5575a09063652014cfc483b898d8bdcd.zip
Remove SPARC lllrint aliases.
The sparc32/sparcv9/fpu/multiarch implementations of llrint / llrintf
have aliases lllrint / lllrintf.  No such function is exported from or
used in libm and these aliases should not be there; I expect they
arose accidentally in the course of converting a 64-bit implementation
(where lrint and llrint can be aliases) to a 32-bit llrint
implementation.  This patch removes those spurious aliases.

Tested (compilation only) with build-many-glibcs.py for
sparcv9-linux-gnu.

	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
	(__lllrint): Remove alias.
	(lllrint): Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
	(__lllrintf): Likewise.
	(lllrintf): Likewise.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S3
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S3
3 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b7fada3f0c..b55ed22f32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
+	(__lllrint): Remove alias.
+	(lllrint): Likewise.
+	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
+	(__lllrintf): Likewise.
+	(lllrintf): Likewise.
+
 	* sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
 	<libm-alias-float.h>.
 	(copysignf): Define using libm_alias_float.
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
index f7cf8780a4..20ae7d0bf6 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
@@ -6,9 +6,6 @@ SPARC_ASM_VIS3_IFUNC(llrint)
 
 libm_alias_double (__llrint, llrint)
 
-strong_alias (__llrint, __lllrint)
-weak_alias (__lllrint, lllrint)
-
 # undef weak_alias
 # define weak_alias(a, b)
 # undef strong_alias
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
index 31b44f3e3f..4030028c16 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
@@ -5,9 +5,6 @@ SPARC_ASM_VIS3_IFUNC(llrintf)
 
 libm_alias_float (__llrint, llrint)
 
-strong_alias (__llrintf, __lllrintf)
-weak_alias (__lllrintf, lllrintf)
-
 # undef weak_alias
 # define weak_alias(a, b)
 # undef strong_alias