about summary refs log tree commit diff
path: root/sysdeps/x86_64/__longjmp.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-28 16:49:48 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-28 16:49:48 +0000
commit4973f319536a5dc555fe3980615677b12e5359e4 (patch)
tree94b8124620fd72581a7e4df901e85302f25e700b /sysdeps/x86_64/__longjmp.S
parentebef0bd6aa6e4293dd3947ca468d454057f350d0 (diff)
downloadglibc-4973f319536a5dc555fe3980615677b12e5359e4.tar.gz
glibc-4973f319536a5dc555fe3980615677b12e5359e4.tar.xz
glibc-4973f319536a5dc555fe3980615677b12e5359e4.zip
* sysdeps/x86_64/__longjmp.S: No need to make sure return value is
	!= 0, the caller did that.
Diffstat (limited to 'sysdeps/x86_64/__longjmp.S')
-rw-r--r--sysdeps/x86_64/__longjmp.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/x86_64/__longjmp.S b/sysdeps/x86_64/__longjmp.S
index 31857e44ba..6e21092451 100644
--- a/sysdeps/x86_64/__longjmp.S
+++ b/sysdeps/x86_64/__longjmp.S
@@ -52,9 +52,6 @@ ENTRY(__longjmp)
 	movq (JB_R14*8)(%rdi),%r14
 	movq (JB_R15*8)(%rdi),%r15
 	/* Set return value for setjmp.  */
-	test %esi,%esi
-	mov $01,%eax
-	cmove %eax,%esi
 	mov %esi, %eax
 	movq %r8,%rsp
 	movq %r9,%rbp