Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s
2023-03-06 14:48:14 +01:00

29 lines
439 B
ArmAsm

.macro one_sym count
.globl sym_1_\count
sym_1_\count:
la $2, sym_1_\count
.endm
.text
.globl func1
.ent func1
func1:
.frame $sp,0,$31
.set noreorder
.cpload $25
.set reorder
.cprestore 8
.set noreorder
.irp thou,0,1,2,3,4,5,6,7,8
.irp hund,0,1,2,3,4,5,6,7,8,9
.irp tens,0,1,2,3,4,5,6,7,8,9
.irp ones,0,1,2,3,4,5,6,7,8,9
one_sym \thou\hund\tens\ones
.endr
.endr
.endr
.endr
.end func1