aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/fpu/e_atanh.S6
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index dbe8c77..851dfc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-09-24 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
+ LOAD_PIC_REG.
+
* sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
(FLT_CHECK_FORCE_UFLOW): Likewise.
(DBL_CHECK_FORCE_UFLOW): Likewise.
diff --git a/sysdeps/i386/fpu/e_atanh.S b/sysdeps/i386/fpu/e_atanh.S
index 5772bbf..448c76b 100644
--- a/sysdeps/i386/fpu/e_atanh.S
+++ b/sysdeps/i386/fpu/e_atanh.S
@@ -55,11 +55,7 @@ ENTRY(__ieee754_atanh)
7:
#ifdef PIC
- call 1f
- cfi_adjust_cfa_offset (4)
-1: popl %edx
- cfi_adjust_cfa_offset (-4)
- addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %edx
+ LOAD_PIC_REG (dx)
#endif
andl $0x80000000, %ecx // ECX == 0 iff X >= 0