2013-01-24 06:08:46 +08:00
|
|
|
.text
|
|
|
|
.globl hey;
|
|
|
|
.type hey, @function;
|
|
|
|
hey:
|
|
|
|
.type hey, @gnu_indirect_function;
|
|
|
|
leaq __hey_1(%rip), %rax
|
|
|
|
ret
|
|
|
|
|
|
|
|
.text
|
|
|
|
.type __hey_1, @function;
|
|
|
|
.globl __hey_1;
|
|
|
|
__hey_1:
|
|
|
|
movq $42, %rax
|
|
|
|
ret
|
2013-02-06 03:15:03 +08:00
|
|
|
|
|
|
|
.text
|
|
|
|
.type plt, @function;
|
|
|
|
.globl plt;
|
|
|
|
plt:
|
|
|
|
call hey@PLT
|
|
|
|
ret
|