1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.section .text .global intr_trampoline .type intr_trampoline, @function intr_trampoline: push %rax push %rdx call *_intr(%rip) pop %rdx pop %rax pop tmprip(%rip) pop %rsp jmp *tmprip(%rip) .section .bss tmprip: .skip 8 .global _intr _intr: .skip 8