diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mips-elf/tls-hidden4b.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-mips-elf/tls-hidden4b.s | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mips-elf/tls-hidden4b.s b/binutils-2.21/ld/testsuite/ld-mips-elf/tls-hidden4b.s new file mode 100644 index 0000000..d6deb00 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-mips-elf/tls-hidden4b.s @@ -0,0 +1,27 @@ + .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 |