blob: 62050e6a4cce2a851e88b51440f5c1909765f435 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.text
.globl main
.type main, @function
main:
subq $8, %rsp
call *foo@GOTPCREL(%rip)
call *bar@GOTPCREL(%rip)
call *plt@GOTPCREL(%rip)
movq foo@GOTPCREL(%rip), %rax
call *%rax
movq bar@GOTPCREL(%rip), %rcx
call *%rcx
movq plt@GOTPCREL(%rip), %rdx
call *%rdx
xorl %edi, %edi
addq $8, %rsp
jmp *myexit@GOTPCREL(%rip)
.size main, .-main
.section .note.GNU-stack
|