Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / testsuite / ld-frv / tls-1.s
bloba13c91bc2d616748a39e6cfab093114d3c9f1a56
1 .section .tbss,"awT",@nobits
2 .align 4
3 .globl i
4 .type i, @object
5 .size i, 4
6 i:
7 .zero 4
8 .align 4
9 .type l, @object
10 .size l, 4
12 .zero 4
13 .text
14 .globl _start
15 _start:
16 call #gettlsoff(x)
18 sethi.p #gottlsdeschi(x), gr14
19 setlo #gottlsdesclo(x), gr14
20 ldd #tlsdesc(x)@(gr15, gr14), gr8
21 calll #gettlsoff(x)@(gr8, gr0)
23 lddi.p @(gr15, #gottlsdesc12(x)), gr8
24 setlos #gottlsdesclo(x), gr14
25 calll #gettlsoff(x)@(gr8, gr0)
27 call #gettlsoff(i)
29 sethi.p #gottlsdeschi(i), gr14
30 setlo #gottlsdesclo(i), gr14
31 ldd #tlsdesc(i)@(gr15, gr14), gr8
32 calll #gettlsoff(i)@(gr8, gr0)
34 lddi.p @(gr15, #gottlsdesc12(i)), gr8
35 setlos #gottlsdesclo(i), gr14
36 calll #gettlsoff(i)@(gr8, gr0)
38 call #gettlsoff(l)
40 sethi.p #gottlsdeschi(l), gr14
41 setlo #gottlsdesclo(l), gr14
42 ldd #tlsdesc(l)@(gr15, gr14), gr8
43 calll #gettlsoff(l)@(gr8, gr0)
45 lddi.p @(gr15, #gottlsdesc12(l)), gr8
46 setlos #gottlsdesclo(l), gr14
47 calll #gettlsoff(l)@(gr8, gr0)
49 call #gettlsoff(0)
51 sethi.p #gottlsdeschi(0), gr14
52 setlo #gottlsdesclo(0), gr14
53 ldd #tlsdesc(0)@(gr15, gr14), gr8
54 calll #gettlsoff(0)@(gr8, gr0)
56 lddi.p @(gr15, #gottlsdesc12(0)), gr8
57 setlos #gottlsdesclo(0), gr14
58 calll #gettlsoff(0)@(gr8, gr0)
60 sethi.p #tlsmoffhi(l), gr8
61 setlo #tlsmofflo(l), gr8
63 sethi.p #tlsmoffhi(i), gr9
64 setlo #tlsmofflo(i), gr9
66 ldi @(gr15, #gottlsoff12(x)), gr9
67 ldi @(gr15, #gottlsoff12(i)), gr9
68 ldi @(gr15, #gottlsoff12(l)), gr9
69 ldi @(gr15, #gottlsoff12(0)), gr9
71 sethi.p #gottlsoffhi(x), gr14
72 setlo #gottlsofflo(x), gr14
73 ld #tlsoff(x)@(gr15, gr14), gr9
75 sethi.p #gottlsoffhi(i), gr14
76 setlo #gottlsofflo(i), gr14
77 ld #tlsoff(i)@(gr15, gr14), gr9
79 sethi.p #gottlsoffhi(l), gr14
80 setlo #gottlsofflo(l), gr14
81 ld #tlsoff(l)@(gr15, gr14), gr9
83 sethi.p #gottlsoffhi(0), gr14
84 setlo #gottlsofflo(0), gr14
85 ld #tlsoff(0)@(gr15, gr14), gr9