Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / testsuite / ld-frv / tls-3.s
blob6dd7972837c2f839fb3fd71d93631bfd98f5b6ec
1 .text
2 .weak u
3 .globl _start
4 _start:
5 call #gettlsoff(u)
7 sethi.p #gottlsdeschi(u), gr14
8 setlo #gottlsdesclo(u), gr14
9 ldd #tlsdesc(u)@(gr15, gr14), gr8
10 calll #gettlsoff(u)@(gr8, gr0)
12 lddi.p @(gr15, #gottlsdesc12(u)), gr8
13 setlos #gottlsdesclo(u), gr14
14 calll #gettlsoff(u)@(gr8, gr0)
16 ldi @(gr15, #gottlsoff12(u)), gr9
18 sethi.p #gottlsoffhi(u), gr14
19 setlo #gottlsofflo(u), gr14
20 ld #tlsoff(u)@(gr15, gr14), gr9