16 lines
182 B
ArmAsm
16 lines
182 B
ArmAsm
|
.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(%rip), %eax
|
||
|
ret
|
||
|
.size bar, .-bar
|