mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-21 09:29:36 +00:00
17 lines
205 B
ArmAsm
17 lines
205 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@GOT(%ecx), %eax
|
|
movl (%eax), %eax
|
|
ret
|
|
.size bar, .-bar
|