2015-09-02 22:30:32 +00:00
|
|
|
.text
|
|
|
|
.type start,"function"
|
|
|
|
.global start
|
|
|
|
start:
|
|
|
|
.type _start,"function"
|
|
|
|
.global _start
|
|
|
|
_start:
|
|
|
|
.type __start,"function"
|
|
|
|
.global __start
|
|
|
|
__start:
|
|
|
|
.type __start,"function"
|
2015-09-03 11:03:13 +00:00
|
|
|
call *foo@GOTPCREL(%rip)
|
|
|
|
jmp *foo@GOTPCREL(%rip)
|
|
|
|
add foo@GOTPCREL(%rip), %rax
|
2015-09-02 22:30:32 +00:00
|
|
|
movq foo@GOTPCREL(%rip), %rax
|
2015-09-03 11:03:13 +00:00
|
|
|
test %rax, foo@GOTPCREL(%rip)
|
2015-09-02 22:30:32 +00:00
|
|
|
movq bar@GOTPCREL(%rip), %rax
|
|
|
|
.type foo, %gnu_indirect_function
|
|
|
|
.globl foo
|
|
|
|
foo:
|
|
|
|
ret
|
|
|
|
.type bar, %function
|
|
|
|
bar:
|
|
|
|
ret
|