mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
25 lines
346 B
ArmAsm
25 lines
346 B
ArmAsm
|
# Define a function with all direct (%lo) references.
|
||
|
|
||
|
.abicalls
|
||
|
.option pic0
|
||
|
|
||
|
.include "compressed-plt-1.s"
|
||
|
|
||
|
.macro test_one, name, types
|
||
|
.if (\types) & LO
|
||
|
li $2,%lo(\name)
|
||
|
.endif
|
||
|
.endm
|
||
|
|
||
|
.if micromips
|
||
|
.set micromips
|
||
|
.endif
|
||
|
|
||
|
.section .text.c, "ax", @progbits
|
||
|
.globl testlo
|
||
|
.ent testlo
|
||
|
.set noreorder
|
||
|
testlo:
|
||
|
test_all
|
||
|
.end testlo
|