1 .abicalls 2 .set noreorder 3 .include "mips16-pic-1.inc" 4 5 # Test local stubs that are only used by MIPS16 PIC calls in this file. 6 lstub unused1,shared 7 8 # Test local stubs that aren't called at all. 9 lstub unused2,shared 10 11 # Test hidden stubs that are called by MIPS16 PIC calls in this file. 12 hstub unused3,shared 13 14 # Test hidden stubs that are called by MIPS16 PIC calls in another file. 15 hstub unused4,shared 16 17 # Test hidden stubs that aren't called at all. 18 hstub unused5,shared 19 20 21 # Test local stubs that are referenced by absolute relocations 22 # in this file. 23 lstub used1,shared 24 25 # Test hidden stubs that are referenced by absolute relocations 26 # in this file. 27 hstub used2,shared 28 29 # Test hidden stubs that are referenced by absolute relocations 30 # in another file. 31 hstub used3,shared 32 33 # Test global stubs that are referenced by absolute relocations 34 # in this file. 35 gstub used4,shared 36 37 # Test global stubs that are referenced by absolute relocations 38 # in another file. 39 gstub used5,shared 40 41 # Test global stubs that are called by MIPS16 PIC calls in this file. 42 gstub used6,shared 43 44 # Test global stubs that are called by MIPS16 PIC calls in another file. 45 gstub used7,shared 46 47 # Test global stubs that aren't referenced at all. 48 gstub used8,shared 49 50 .set mips16 51 .ent foo 52foo: 53 pic_prologue mips16 54 pic_call unused1,mips16 55 pic_call unused3,mips16 56 pic_call used6,mips16 57 pic_epilogue 58 .end foo 59 60 .data 61 .word used1 62 .word used2 63 .word used4 64