gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-alpha / tlsbin.s
bloba772a7efdfc2965decfb4a87afbd2fe58e109b7c
1 .section ".tbss", "awT", @nobits
2 .globl bg1, bg2, bg3, bg4, bg5, bg6, bg7, bg8
3 bg1: .space 4
4 bg2: .space 4
5 bg3: .space 4
6 bg4: .space 4
7 bg5: .space 4
8 bg6: .space 4
9 bg7: .space 4
10 bg8: .space 4
11 bl1: .space 4
12 bl2: .space 4
13 bl3: .space 4
14 bl4: .space 4
15 bl5: .space 4
16 bl6: .space 4
17 bl7: .space 4
18 bl8: .space 4
20 .text
21 .globl _start
22 .ent _start
23 _start:
24 rduniq
25 mov $0, $9
27 /* IE */
28 ldq $1, sG2($gp) !gottprel
29 addq $1, $9, $1
31 /* IE against global symbol in exec */
32 ldq $1, bl1($gp) !gottprel
33 addq $1, $9, $1
35 /* LE */
36 lda $1, sg1($9) !tprel
37 lda $1, bl2+2($9) !tprel
39 ldah $1, sh2+3($9) !tprelhi
40 lda $1, sh2+3($1) !tprello
42 ldq $1, bl2+4($gp) !gottprel
43 addq $1, $9, $1
45 ret
46 .end _start