aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/dl-trampoline.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-20 08:58:44 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-20 08:58:44 -0400
commit0276a718c0fa58916a6e7c54bad22b4e58bb39b4 (patch)
tree3cc59961ff8544b1bc215547d5458b11a876676e /sysdeps/x86_64/dl-trampoline.S
parentc88f17668b67d22fe470933ab81119de587ee175 (diff)
downloadglibc-0276a718c0fa58916a6e7c54bad22b4e58bb39b4.tar
glibc-0276a718c0fa58916a6e7c54bad22b4e58bb39b4.tar.gz
glibc-0276a718c0fa58916a6e7c54bad22b4e58bb39b4.tar.bz2
glibc-0276a718c0fa58916a6e7c54bad22b4e58bb39b4.zip
Fix minor CFI problem in regular x86-64 trampoline
Diffstat (limited to 'sysdeps/x86_64/dl-trampoline.S')
-rw-r--r--sysdeps/x86_64/dl-trampoline.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 317610c12e..258c60945a 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -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)