mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
23 lines
331 B
ArmAsm
23 lines
331 B
ArmAsm
# Create a GOT reference for every function under test.
|
|
|
|
.abicalls
|
|
.option pic2
|
|
|
|
.include "compressed-plt-1.s"
|
|
|
|
.macro test_one, name, types
|
|
lw $2,%got(\name)($gp)
|
|
.endm
|
|
|
|
.if micromips
|
|
.set micromips
|
|
.endif
|
|
|
|
.section .text.d, "ax", @progbits
|
|
.globl testgot
|
|
.ent testgot
|
|
.set noreorder
|
|
testgot:
|
|
test_all
|
|
.end testgot
|