1.macro one_sym count 2.globl sym_1_\count 3sym_1_\count: 4 la $2, sym_1_\count 5.endm 6 7.irp thou,0,1,2,3,4,5,6,7,8,9 8.irp hund,0,1,2,3,4,5,6,7,8,9 9.irp tens,0,1,2,3,4,5,6,7,8,9 10.irp ones,0,1,2,3,4,5,6,7,8,9 11one_sym \thou\hund\tens\ones 12.endr 13.endr 14.endr 15.endr 16 17tls_bits_1: 18 addiu $4,$28,%tlsgd(tlsvar_gd) 19 addiu $4,$28,%tlsldm(tlsvar_ld) 20 addiu $4,$2,%gottprel(tlsvar_ie) 21 22 .section .tbss,"awT",@nobits 23 .align 2 24 .global tlsvar_gd 25 .type tlsvar_gd,@object 26 .size tlsvar_gd,4 27tlsvar_gd: 28 .space 4 29 .global tlsvar_ie 30 .type tlsvar_ie,@object 31 .size tlsvar_ie,4 32tlsvar_ie: 33 .space 4 34 .global tlsvar_ld 35 .hidden tlsvar_ld 36 .type tlsvar_ld,@object 37 .size tlsvar_ld,4 38tlsvar_ld: 39 .word 1 40