1 .section ".tbss","awT",@nobits 2 .global gd0 3 .align 3 4 gd0: .space 8 5 6 .section ".opt1", "ax", %progbits 7 addi 3,2,gd@got@tlsgd 8 cmpdi 4,0 9 beq 0f 10 bl __tls_get_addr(gd@tlsgd) 11 nop 12 b 1f 13 0: 14 bl __tls_get_addr(gd@tlsgd) 15 nop 16 1: 17 18 .section ".opt2", "ax", %progbits 19 addi 3,2,gd@got@tlsgd 20 cmpdi 4,0 21 beq 0f 22 addi 3,2,gd@got@tlsgd 23 0: 24 bl __tls_get_addr(gd@tlsgd) 25 nop 26 27 .section ".opt3", "ax", %progbits 28 addi 3,2,gd@got@tlsgd 29 b 0f 30 addi 3,2,gd0@got@tlsgd 31 b 1f 32 0: 33 bl __tls_get_addr(gd@tlsgd) 34 nop 35 b 2f 36 1: 37 bl __tls_get_addr(gd0@tlsgd) 38 nop 39 2: 40