1 .section .tbss,"awT",@nobits
10 .type _start,@function
20 /* GD (TLSDESC), global var */
22 auipc a0
, %tlsdesc_hi
(sg1
)
23 lw t0
, %tlsdesc_load_lo
(.desc1)(a0)
24 addi a0
, a0
, %tlsdesc_add_lo
(.desc1)
25 jalr t0
, t0
, %tlsdesc_call
(.desc1)
35 /* GD (TLSDESC), local var */
37 auipc a0
, %tlsdesc_hi
(sl1
)
38 lw t0
, %tlsdesc_load_lo
(.desc2)(a0)
39 addi a0
, a0
, %tlsdesc_add_lo
(.desc2)
40 jalr t0
, t0
, %tlsdesc_call
(.desc2)