summaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/e_atanhl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/e_atanhl.S')
-rw-r--r--sysdeps/i386/fpu/e_atanhl.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/e_atanhl.S b/sysdeps/i386/fpu/e_atanhl.S
index 8618c3fb35..6fda9bef89 100644
--- a/sysdeps/i386/fpu/e_atanhl.S
+++ b/sysdeps/i386/fpu/e_atanhl.S
@@ -64,7 +64,9 @@ ENTRY(__ieee754_atanhl)
7:
#ifdef PIC
- LOAD_PIC_REG (dx)
+ call 1f
+1: popl %edx
+ addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %edx
#endif
andl $0x8000, %ecx // ECX == 0 iff X >= 0