Commit | Line | Data |
---|---|---|
74d7f0aa L |
1 | .data |
2 | .type bar, @object | |
3 | bar: | |
4 | .byte 1 | |
5 | .size bar, .-bar | |
6 | .globl foo | |
7 | .type foo, @object | |
8 | foo: | |
9 | .byte 1 | |
10 | .size foo, .-foo | |
11 | .text | |
12 | .globl _start | |
13 | .type _start, @function | |
14 | _start: | |
15 | movl $0, bar@GOT | |
16 | cmpl $0, foo@GOT | |
17 | movl $bar@GOT, %ecx |