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@GOT(%ebx)
|
|
|
|
jmp *foo@GOT(%ebx)
|
|
|
|
add foo@GOT(%ebx), %eax
|
2015-09-02 22:30:32 +00:00
|
|
|
mov foo@GOT(%ebx), %eax
|
2015-09-03 11:03:13 +00:00
|
|
|
test %eax, foo@GOT(%ebx)
|
2015-09-02 22:30:32 +00:00
|
|
|
mov bar@GOT(%ebx), %eax
|
|
|
|
.global foo
|
|
|
|
.type foo, %gnu_indirect_function
|
|
|
|
foo:
|
|
|
|
ret
|
|
|
|
.type bar, %function
|
|
|
|
bar:
|
|
|
|
ret
|