ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-reloc-6.s
CommitLineData
304f09d0
FS
1 .text
2 .globl foo
b474a202 3 .globl global_tls
304f09d0
FS
4 .ent foo
5foo:
6$LCL:
7 li $2, %hi($LCL)
8 addiu $2, %lo($LCL)
9 li $2, %hi(bar)
10 addiu $2, %lo(bar)
b474a202
FS
11 li $a0,%tprel_hi(local_tls)
12 lw $a1,%tprel_lo(local_tls)($a0)
13 li $a0,%tprel_hi(global_tls)
14 lw $a1,%tprel_lo(global_tls)($a0)
304f09d0 15 .end foo
b474a202
FS
16 .type local_tls,%object
17 .type global_tls,%object
18 .section .tbss,"awT",@nobits
19local_tls:
20 .word
21global_tls:
22 .word
This page took 0.083428 seconds and 4 git commands to generate.