summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_expm1l.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-10-19 21:23:15 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-19 21:23:15 -0700
commitb7805d0ba8948fcf5e406bf52530d9aba99f5954 (patch)
tree4cf6a9d4462778f3813492393059d095bd91c17a /sysdeps/i386/fpu/s_expm1l.S
parenta0902db9fe8f4cfc6b0b0344558166f5b230b806 (diff)
downloadglibc-b7805d0ba8948fcf5e406bf52530d9aba99f5954.tar.gz
glibc-b7805d0ba8948fcf5e406bf52530d9aba99f5954.tar.xz
glibc-b7805d0ba8948fcf5e406bf52530d9aba99f5954.zip
Correct errno handling in expm1.
Diffstat (limited to 'sysdeps/i386/fpu/s_expm1l.S')
-rw-r--r--sysdeps/i386/fpu/s_expm1l.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/s_expm1l.S b/sysdeps/i386/fpu/s_expm1l.S
index b69b22bc62..60b5b82e20 100644
--- a/sysdeps/i386/fpu/s_expm1l.S
+++ b/sysdeps/i386/fpu/s_expm1l.S
@@ -22,6 +22,7 @@
 
 	/* Using: e^x - 1 = 2^(x * log2(e)) - 1 */
 
+#include <sysdep.h>
 #include <machine/asm.h>
 
 #ifdef __ELF__
@@ -51,7 +52,7 @@ ENTRY(__expm1l)
 	movzwl	4+8(%esp), %eax	// load sign bit and 15-bit exponent
 	xorb	$0x80, %ah	// invert sign bit (now 1 is "positive")
 	cmpl	$0xc006, %eax	// is num positive and exp >= 6 (number is >= 128.0)?
-	jae     __ieee754_expl	// (if num is denormal, it is at least >= 64.0)
+	jae	HIDDEN_JUMPTARGET (__expl) // (if num is denormal, it is at least >= 64.0)
 
 	fldt	4(%esp)		// x
 	fxam			// Is NaN or +-Inf?