1 .text 2 .weak u 3 .globl _start 4 _start: 5 call #gettlsoff(u) 6 7 sethi.p #gottlsdeschi(u), gr14 8 setlo #gottlsdesclo(u), gr14 9 ldd #tlsdesc(u)@(gr15, gr14), gr8 10 calll #gettlsoff(u)@(gr8, gr0) 11 12 lddi.p @(gr15, #gottlsdesc12(u)), gr8 13 setlos #gottlsdesclo(u), gr14 14 calll #gettlsoff(u)@(gr8, gr0) 15 16 ldi @(gr15, #gottlsoff12(u)), gr9 17 18 sethi.p #gottlsoffhi(u), gr14 19 setlo #gottlsofflo(u), gr14 20 ld #tlsoff(u)@(gr15, gr14), gr9 21