Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-alpha / tlsbin.s
CommitLineData
8b0c8155
RH
1 .section ".tbss", "awT", @nobits
2 .globl bg1, bg2, bg3, bg4, bg5, bg6, bg7, bg8
3bg1: .space 4
4bg2: .space 4
5bg3: .space 4
6bg4: .space 4
7bg5: .space 4
8bg6: .space 4
9bg7: .space 4
10bg8: .space 4
11bl1: .space 4
12bl2: .space 4
13bl3: .space 4
14bl4: .space 4
15bl5: .space 4
16bl6: .space 4
17bl7: .space 4
18bl8: .space 4
19
20 .text
21 .globl _start
22 .ent _start
23_start:
24 rduniq
25 mov $0, $9
26
27 /* IE */
28 ldq $1, sG2($gp) !gottprel
29 addq $1, $9, $1
30
31 /* IE against global symbol in exec */
32 ldq $1, bl1($gp) !gottprel
33 addq $1, $9, $1
34
35 /* LE */
36 lda $1, sg1($9) !tprel
37 lda $1, bl2+2($9) !tprel
38
39 ldah $1, sh2+3($9) !tprelhi
40 lda $1, sh2+3($1) !tprello
41
42 ldq $1, bl2+4($gp) !gottprel
43 addq $1, $9, $1
44
45 ret
46 .end _start
This page took 0.824568 seconds and 4 git commands to generate.