mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
17 lines
210 B
ArmAsm
17 lines
210 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:
|
|
movq foo@GOTPCREL(%rip), %rax
|
|
movl (%rax), %eax
|
|
ret
|
|
.size bar, .-bar
|