1*56bb7041Schristos# Define a function with all direct (%lo) references. 2*56bb7041Schristos 3*56bb7041Schristos .abicalls 4*56bb7041Schristos .option pic0 5*56bb7041Schristos 6*56bb7041Schristos .include "compressed-plt-1.s" 7*56bb7041Schristos 8*56bb7041Schristos .macro test_one, name, types 9*56bb7041Schristos .if (\types) & LO 10*56bb7041Schristos li $2,%lo(\name) 11*56bb7041Schristos .endif 12*56bb7041Schristos .endm 13*56bb7041Schristos 14*56bb7041Schristos .if micromips 15*56bb7041Schristos .set micromips 16*56bb7041Schristos .endif 17*56bb7041Schristos 18*56bb7041Schristos .section .text.c, "ax", @progbits 19*56bb7041Schristos .globl testlo 20*56bb7041Schristos .ent testlo 21*56bb7041Schristos .set noreorder 22*56bb7041Schristostestlo: 23*56bb7041Schristos test_all 24*56bb7041Schristos .end testlo 25