1# Define a function with all "uncompressed" (du, bu and iu) references. 2 3 .abicalls 4 .option pic0 5 6 .include "compressed-plt-1.s" 7 8 .macro test_one, name, types 9 .if (\types) & DU 10 jal \name 11 nop 12 j \name 13 nop 14 .endif 15 .if (\types) & BU 16 bal \name 17 nop 18 b \name 19 nop 20 .endif 21 .if (\types) & IU 22 lw $2, %call16(\name)($3) 23 .endif 24 .endm 25 26 .section .text.b, "ax", @progbits 27 .globl testu 28 .ent testu 29 .set noreorder 30testu: 31 test_all 32 jr $31 33 .end testu 34