Merge remote branch 'origin/master'
[binutils/dougsmingw.git] / ld / testsuite / ld-mips-elf / tls-multi-got-1-1.s
blob60f6717c91315ce888fa030d8d09b54f398f18d2
1 .macro one_sym count
2 .globl sym_1_\count
3 sym_1_\count:
4 la $2, sym_1_\count
5 .endm
7 .irp thou,0,1,2,3,4,5,6,7,8,9
8 .irp hund,0,1,2,3,4,5,6,7,8,9
9 .irp tens,0,1,2,3,4,5,6,7,8,9
10 .irp ones,0,1,2,3,4,5,6,7,8,9
11 one_sym \thou\hund\tens\ones
12 .endr
13 .endr
14 .endr
15 .endr
17 tls_bits_1:
18 addiu $4,$28,%tlsgd(tlsvar_gd)
19 addiu $4,$28,%tlsldm(tlsvar_ld)
20 addiu $4,$2,%gottprel(tlsvar_ie)
22 .section .tbss,"awT",@nobits
23 .align 2
24 .global tlsvar_gd
25 .type tlsvar_gd,@object
26 .size tlsvar_gd,4
27 tlsvar_gd:
28 .space 4
29 .global tlsvar_ie
30 .type tlsvar_ie,@object
31 .size tlsvar_ie,4
32 tlsvar_ie:
33 .space 4
34 .global tlsvar_ld
35 .hidden tlsvar_ld
36 .type tlsvar_ld,@object
37 .size tlsvar_ld,4
38 tlsvar_ld:
39 .word 1