mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Fix minor CFI problem in regular x86-64 trampoline
This commit is contained in:
parent
c88f17668b
commit
0276a718c0
@ -1,5 +1,8 @@
|
||||
2011-08-20 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
|
||||
the very first instruction.
|
||||
|
||||
* sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
|
||||
the CFI state in the end.
|
||||
* sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
|
||||
|
@ -27,8 +27,9 @@
|
||||
.align 16
|
||||
cfi_startproc
|
||||
_dl_runtime_resolve:
|
||||
cfi_adjust_cfa_offset(16) # Incorporate PLT
|
||||
subq $56,%rsp
|
||||
cfi_adjust_cfa_offset(72) # Incorporate PLT
|
||||
cfi_adjust_cfa_offset(56)
|
||||
movq %rax,(%rsp) # Preserve registers otherwise clobbered.
|
||||
movq %rcx, 8(%rsp)
|
||||
movq %rdx, 16(%rsp)
|
||||
|
Loading…
Reference in New Issue
Block a user