mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-11 12:05:55 +00:00
24 lines
319 B
ArmAsm
24 lines
319 B
ArmAsm
.text
|
|
.globl g
|
|
.type g, @function
|
|
g:
|
|
calll .Lfoo
|
|
.Lfoo:
|
|
popl %eax
|
|
.Lbar:
|
|
addl $_GLOBAL_OFFSET_TABLE_+(.Lbar-.Lfoo), %eax
|
|
movl f@GOT(%eax), %eax
|
|
ret
|
|
|
|
.globl h
|
|
.type h, @function
|
|
h:
|
|
leal zed, %eax
|
|
movl zed, %ebx
|
|
addl %ebx, %eax
|
|
ret
|
|
|
|
.data
|
|
zed:
|
|
.long f - .
|