1.set noat 2 3.sdata 4 5sym1: 6.long 0xdead 7sym2: 8.long 0xbeef 9sym3: 10.byte 0x7f 11 12.section .sbss, "w" 13sym4: 14.long 0 15sym5: 16.long 0 17sym6: 18.byte 0 19 20.text 21.global _start 22_start: 23 movui gp, _gp 24 ldw r1, %gprel(sym1)(gp) 25 ldw r2, %gprel(sym2)(gp) 26 ldb r3, %gprel(sym3)(gp) 27 ldw r1, %gprel(sym4)(gp) 28 ldw r2, %gprel(sym5)(gp) 29 ldb r3, %gprel(sym6)(gp) 30