aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-31 07:20:45 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-31 07:20:45 -0700
commit5b938b2543c991be88a06fd7438f804d05358ac1 (patch)
tree1a7ae1700613704d439a026c30cf12372fcfab22
parent57dbdb9f07fb20d5dd765c5dc91e31cb67d08b7e (diff)
downloadglibc-5b938b2543c991be88a06fd7438f804d05358ac1.zip
glibc-5b938b2543c991be88a06fd7438f804d05358ac1.tar.gz
glibc-5b938b2543c991be88a06fd7438f804d05358ac1.tar.bz2
Remove CHEC_ESP handling from i386 __longjmp.
-rw-r--r--sysdeps/i386/__longjmp.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/i386/__longjmp.S b/sysdeps/i386/__longjmp.S
index f2eeeec..5ff7a73 100644
--- a/sysdeps/i386/__longjmp.S
+++ b/sysdeps/i386/__longjmp.S
@@ -33,9 +33,6 @@ ENTRY (__longjmp)
movl (JB_SP*4)(%eax), %ecx
PTR_DEMANGLE (%edx)
PTR_DEMANGLE (%ecx)
-# ifdef CHECK_ESP
- CHECK_ESP (%ecx)
-# endif
cfi_def_cfa(%eax, 0)
cfi_register(%eip, %edx)
cfi_register(%esp, %ecx)
@@ -57,12 +54,6 @@ ENTRY (__longjmp)
movl %ecx, %esp
#else
movl 4(%esp), %ecx /* User's jmp_buf in %ecx. */
-
-# ifdef CHECK_ESP
- movl (JB_SP*4)(%ecx), %eax
- CHECK_ESP (%eax)
-# endif
-
movl 8(%esp), %eax /* Second argument is return value. */
/* Save the return address now. */
movl (JB_PC*4)(%ecx), %edx