about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc32/fpu')
-rw-r--r--sysdeps/sparc/sparc32/fpu/w_sqrt.S6
-rw-r--r--sysdeps/sparc/sparc32/fpu/w_sqrtf.S6
2 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/w_sqrt.S b/sysdeps/sparc/sparc32/fpu/w_sqrt.S
index e02fadf130..667c71c625 100644
--- a/sysdeps/sparc/sparc32/fpu/w_sqrt.S
+++ b/sysdeps/sparc/sparc32/fpu/w_sqrt.S
@@ -32,18 +32,12 @@ ENTRY (__sqrt)
 1:
 #ifdef SHARED
 	SETUP_PIC_REG_LEAF(o5, g1)
-#ifdef HAVE_BINUTILS_GOTDATA
 	sethi	%gdop_hix22(_LIB_VERSION), %g1
 	xor	%g1, %gdop_lox10(_LIB_VERSION), %g1
 	ld	[%o5 + %g1], %g1, %gdop(_LIB_VERSION)
 #else
 	sethi	%hi(_LIB_VERSION), %g1
 	or	%g1, %lo(_LIB_VERSION), %g1
-	ld	[%o5 + %g1], %g1
-#endif
-#else
-	sethi	%hi(_LIB_VERSION), %g1
-	or	%g1, %lo(_LIB_VERSION), %g1
 #endif
 	ld	[%g1], %g1
 	cmp	%g1, -1
diff --git a/sysdeps/sparc/sparc32/fpu/w_sqrtf.S b/sysdeps/sparc/sparc32/fpu/w_sqrtf.S
index cf4c800624..5260bec373 100644
--- a/sysdeps/sparc/sparc32/fpu/w_sqrtf.S
+++ b/sysdeps/sparc/sparc32/fpu/w_sqrtf.S
@@ -31,18 +31,12 @@ ENTRY (__sqrtf)
 1:
 #ifdef SHARED
 	SETUP_PIC_REG_LEAF(o5, g1)
-#ifdef HAVE_BINUTILS_GOTDATA
 	sethi	%gdop_hix22(_LIB_VERSION), %g1
 	xor	%g1, %gdop_lox10(_LIB_VERSION), %g1
 	ld	[%o5 + %g1], %g1, %gdop(_LIB_VERSION)
 #else
 	sethi	%hi(_LIB_VERSION), %g1
 	or	%g1, %lo(_LIB_VERSION), %g1
-	ld	[%o5 + %g1], %g1
-#endif
-#else
-	sethi	%hi(_LIB_VERSION), %g1
-	or	%g1, %lo(_LIB_VERSION), %g1
 #endif
 	ld	[%g1], %g1
 	cmp	%g1, -1