Commit | Line | Data |
---|---|---|
02a86693 L |
1 | .globl bar |
2 | .type bar, @function | |
3 | bar: | |
4 | pushl %ebx | |
5 | call __x86.get_pc_thunk.cx | |
6 | addl $_GLOBAL_OFFSET_TABLE_, %ecx | |
7 | subl $24, %esp | |
8 | leal __FUNCTION__.1862@GOTOFF(%ecx), %eax | |
9 | movl %eax, (%esp) | |
10 | call *puts@GOT(%ecx) | |
11 | addl $24, %esp | |
12 | popl %ebx | |
13 | ret | |
14 | .size bar, .-bar | |
15 | ||
16 | .globl plt | |
17 | .type plt, @function | |
18 | plt: | |
19 | pushl %esi | |
20 | pushl %ebx | |
21 | call __x86.get_pc_thunk.bx | |
02a86693 L |
22 | addl $_GLOBAL_OFFSET_TABLE_, %ebx |
23 | subl $20, %esp | |
24 | leal __FUNCTION__.1866@GOTOFF(%ebx), %esi | |
25 | movl %esi, (%esp) | |
26 | call *puts@GOT(%ebx) | |
27 | addl $20, %esp | |
28 | popl %ebx | |
29 | popl %esi | |
30 | ret | |
31 | .section .rodata | |
32 | .type __FUNCTION__.1866, @object | |
33 | .size __FUNCTION__.1866, 4 | |
34 | __FUNCTION__.1866: | |
35 | .string "plt" | |
36 | .type __FUNCTION__.1862, @object | |
37 | .size __FUNCTION__.1862, 4 | |
38 | __FUNCTION__.1862: | |
39 | .string "bar" | |
40 | .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat | |
41 | .globl __x86.get_pc_thunk.bx | |
42 | .hidden __x86.get_pc_thunk.bx | |
43 | .type __x86.get_pc_thunk.bx, @function | |
44 | __x86.get_pc_thunk.bx: | |
45 | movl (%esp), %ebx | |
46 | ret | |
47 | .section .text.__x86.get_pc_thunk.cx,"axG",@progbits,__x86.get_pc_thunk.cx,comdat | |
48 | .globl __x86.get_pc_thunk.cx | |
49 | .hidden __x86.get_pc_thunk.cx | |
50 | .type __x86.get_pc_thunk.cx, @function | |
51 | __x86.get_pc_thunk.cx: | |
52 | movl (%esp), %ecx | |
53 | ret |