mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
19 lines
208 B
ArmAsm
19 lines
208 B
ArmAsm
|
.macro load
|
||
|
.text
|
||
|
lw $4,%gottprel(foo\@)($gp)
|
||
|
|
||
|
.global foo\@
|
||
|
.type foo\@,@object
|
||
|
.size foo\@,4
|
||
|
.section .tdata,"awT",@progbits
|
||
|
foo\@:
|
||
|
.word \@
|
||
|
.endm
|
||
|
|
||
|
.rept 4
|
||
|
load
|
||
|
.endr
|
||
|
|
||
|
.data
|
||
|
.word undef
|