blob: 75380501746a9ab96f99971eddbdf21b3c70d8e2 (
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:
movq foo@GOTPCREL(%rip), %rax
movl (%rax), %eax
ret
.size bar, .-bar
|