Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/tls-hidden4b.s
2023-03-06 14:48:14 +01:00

27 lines
293 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
.text
.macro load2
lw $4,%got(undefb\@)($gp)
.endm
.rept 0x3000
load2
.endr
.data
.word undef