Skip to content

Commit

Permalink
Remove CHEC_ESP handling from i386 __longjmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jul 31, 2009
1 parent 57dbdb9 commit 5b938b2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sysdeps/i386/__longjmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 5b938b2

Please sign in to comment.