gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-mips-elf / mips16-pic-2a.s
blob08a1269c56af4061bafb48b3fa722b7cf31ad151
1 .abicalls
2 .set noreorder
3 .include "mips16-pic-1.inc"
5 # Test local stubs that are only used by MIPS16 PIC calls in this file.
6 lstub unused1,shared
8 # Test local stubs that aren't called at all.
9 lstub unused2,shared
11 # Test hidden stubs that are called by MIPS16 PIC calls in this file.
12 hstub unused3,shared
14 # Test hidden stubs that are called by MIPS16 PIC calls in another file.
15 hstub unused4,shared
17 # Test hidden stubs that aren't called at all.
18 hstub unused5,shared
21 # Test local stubs that are referenced by absolute relocations
22 # in this file.
23 lstub used1,shared
25 # Test hidden stubs that are referenced by absolute relocations
26 # in this file.
27 hstub used2,shared
29 # Test hidden stubs that are referenced by absolute relocations
30 # in another file.
31 hstub used3,shared
33 # Test global stubs that are referenced by absolute relocations
34 # in this file.
35 gstub used4,shared
37 # Test global stubs that are referenced by absolute relocations
38 # in another file.
39 gstub used5,shared
41 # Test global stubs that are called by MIPS16 PIC calls in this file.
42 gstub used6,shared
44 # Test global stubs that are called by MIPS16 PIC calls in another file.
45 gstub used7,shared
47 # Test global stubs that aren't referenced at all.
48 gstub used8,shared
50 .set mips16
51 .ent foo
52 foo:
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
60 .data
61 .word used1
62 .word used2
63 .word used4