projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07df809
)
Change code a bit to correct CFI.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 31 Jul 2009 04:29:27 +0000
(21:29 -0700)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 31 Jul 2009 04:29:27 +0000
(21:29 -0700)
sysdeps/x86_64/____longjmp_chk.S
patch
|
blob
|
history
diff --git
a/sysdeps/x86_64/____longjmp_chk.S
b/sysdeps/x86_64/____longjmp_chk.S
index
23aa0cb
..
80e4aff
100644
(file)
--- a/
sysdeps/x86_64/____longjmp_chk.S
+++ b/
sysdeps/x86_64/____longjmp_chk.S
@@
-74,6
+74,8
@@
ENTRY(____longjmp_chk)
syscall
testl %eax, %eax
movl $0, %eax
+ leaq 24(%rsp), %rsp
+ cfi_adjust_cfa_offset(-24)
jne .Lok
movl 8(%rsp), %eax
andl $1, %eax
@@
-125,7
+127,7
@@
ENTRY(____longjmp_chk)
.Lfail: xchgq %r8, %rsp
/* We want the stack trace to show that of the caller. */
- cfi_def_cfa(%rsp,
32
)
+ cfi_def_cfa(%rsp,
8
)
cfi_restore(%rsp)
cfi_register(%rbp, %r9)
cfi_restore(%rip)