]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | #if __x86_64__ | |
3 | .text | |
4 | .globl _get_bar | |
5 | _get_bar: | |
6 | pushq %rbp | |
7 | movq %rsp, %rbp | |
8 | movq _bar@TLVP(%rip), %rdi | |
9 | call *(%rdi) | |
10 | popq %rbp | |
11 | ret | |
12 | #endif | |
13 | ||
14 | ||
15 | #if __i386__ | |
16 | .text | |
17 | .globl _get_bar | |
18 | _get_bar: | |
19 | pushl %ebp | |
20 | movl %esp, %ebp | |
21 | subl $8, %esp | |
22 | movl _bar@TLVP, %eax | |
23 | call *(%eax) | |
24 | movl %ebp, %esp | |
25 | popl %ebp | |
26 | ret | |
27 | #endif | |
28 | ||
29 | .subsections_via_symbols |