mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
23 lines
320 B
ArmAsm
23 lines
320 B
ArmAsm
.global glob
|
|
.ent glob
|
|
glob:
|
|
lw $4,%got(local)($28)
|
|
addiu $4,$4,%lo(local)
|
|
lw $4,%got(hidden)($28)
|
|
lw $4,%call16(glob)($28)
|
|
lw $4,%call16(extern)($28)
|
|
.end glob
|
|
|
|
.data
|
|
.type local,%object
|
|
.size local,4
|
|
local:
|
|
.word undef
|
|
|
|
.globl hidden
|
|
.hidden hidden
|
|
.type hidden,%object
|
|
.size hidden,4
|
|
hidden:
|
|
.word 0
|