Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions arch/x86_64/plthook.S
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ plt_hooker:
.cfi_startproc
/* PLT code already pushed symbol and module indices */
.cfi_adjust_cfa_offset 16
sub $48, %rsp
.cfi_adjust_cfa_offset 48
movq %rdi, 40(%rsp)
.cfi_offset rdi, -32
movq %rsi, 32(%rsp)
.cfi_offset rsi, -40
movq %rdx, 24(%rsp)
.cfi_offset rdx, -48
movq %rcx, 16(%rsp)
.cfi_offset rcx, -56
movq %r8, 8(%rsp)
.cfi_offset r8, -64
movq %r9, 0(%rsp)
.cfi_offset r9, -72
sub $56, %rsp
.cfi_adjust_cfa_offset 56
movq %rdi, 48(%rsp)
.cfi_offset rdi, -24
movq %rsi, 40(%rsp)
.cfi_offset rsi, -32
movq %rdx, 32(%rsp)
.cfi_offset rdx, -40
movq %rcx, 24(%rsp)
.cfi_offset rcx, -48
movq %r8, 16(%rsp)
.cfi_offset r8, -56
movq %r9, 8(%rsp)
.cfi_offset r9, -64

/* child idx */
movq 56(%rsp), %rsi
Expand Down