Commit | Line | Data |
---|---|---|
41bed6dd L |
1 | .protected foo |
2 | .globl foo | |
3 | .data | |
4 | .align 4 | |
5 | .type foo, @object | |
6 | .size foo, 4 | |
7 | foo: | |
8 | .long 1 | |
9 | .text | |
10 | .globl bar | |
11 | .type bar, @function | |
12 | bar: | |
f7483970 L |
13 | movl foo@GOT(%ecx), %eax |
14 | movl (%eax), %eax | |
41bed6dd L |
15 | ret |
16 | .size bar, .-bar |