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