1 .macro load 2 .text 3 lw $4,%gottprel(foo\@)($gp) 4 5 .global foo\@ 6 .type foo\@,@object 7 .size foo\@,4 8 .section .tdata,"awT",@progbits 9 foo\@: 10 .word \@ 11 .endm 12 13 .rept 4 14 load 15 .endr 16 17 .text 18 .macro load2 19 lw $4,%got(undefb\@)($gp) 20 .endm 21 22 .rept 0x3000 23 load2 24 .endr 25 26 .data 27 .word undef 28