Commit | Line | Data |
---|---|---|
ca8c86ef L |
1 | .text |
2 | .p2align 4,,15 | |
3 | .globl get_func1 | |
4 | .type get_func1, @function | |
5 | get_func1: | |
6 | call __x86.get_pc_thunk.ax | |
7 | addl $_GLOBAL_OFFSET_TABLE_, %eax | |
8 | movl func1@GOT(%eax), %eax | |
9 | ret | |
10 | .size get_func1, .-get_func1 | |
11 | .p2align 4,,15 | |
12 | .globl call_func1 | |
13 | .type call_func1, @function | |
14 | call_func1: | |
15 | call __x86.get_pc_thunk.ax | |
16 | addl $_GLOBAL_OFFSET_TABLE_, %eax | |
17 | jmp *func1@GOT(%eax) | |
18 | .size call_func1, .-call_func1 | |
19 | .section .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat | |
20 | .globl __x86.get_pc_thunk.ax | |
21 | .hidden __x86.get_pc_thunk.ax | |
22 | .type __x86.get_pc_thunk.ax, @function | |
23 | __x86.get_pc_thunk.ax: | |
24 | movl (%esp), %eax | |
25 | ret | |
26 | .section .note.GNU-stack,"",@progbits |