mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-10 21:01:49 +00:00
parent
9923a1bf50
commit
c2c33d6808
@ -27,16 +27,21 @@ _jmp_slot:
|
||||
pushq %r9
|
||||
pushq %r10
|
||||
pushq %r11
|
||||
subq $0x200, %rsp
|
||||
fxsave (%rsp)
|
||||
|
||||
/* obj pointer */
|
||||
movq 0x58(%rsp), %rdi
|
||||
movq 0x258(%rsp), %rdi
|
||||
/* relocation index */
|
||||
movq 0x60(%rsp), %rsi
|
||||
movq 0x260(%rsp), %rsi
|
||||
|
||||
call jmp_slot@PLT
|
||||
/* rax now contains target symbol address */
|
||||
movq %rax, 0x60(%rsp)
|
||||
|
||||
/* rax now contains target symbol address */
|
||||
movq %rax, 0x260(%rsp)
|
||||
|
||||
fxrstor (%rsp)
|
||||
addq $0x200, %rsp
|
||||
popq %r11
|
||||
popq %r10
|
||||
popq %r9
|
||||
|
Loading…
x
Reference in New Issue
Block a user