Commit | Line | Data |
---|---|---|
738e5348 RS |
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 | decl unused1,lstub | |
7 | callpic unused1,mips16 | |
8 | ||
9 | # Test local stubs that are only used by MIPS16 jals in this file. | |
10 | decl unused2,lstub | |
11 | jals unused2,mips16 | |
12 | ||
13 | # Test local stubs that aren't called at all. | |
14 | decl unused3,lstub | |
15 | ||
16 | # Test hidden stubs that are called by MIPS16 PIC calls in this file. | |
17 | decl unused4,hstub | |
18 | callpic unused4,mips16 | |
19 | ||
20 | # Test hidden stubs that are called by MIPS16 jals in this file. | |
21 | decl unused5,hstub | |
22 | jals unused5,mips16 | |
23 | ||
24 | # Test hidden stubs that are called by MIPS16 PIC calls in another file. | |
25 | decl unused6,hstub | |
26 | ||
27 | # Test hidden stubs that are called by MIPS16 jals in another file. | |
28 | decl unused7,hstub | |
29 | ||
30 | # Test hidden stubs that aren't called at all. | |
31 | decl unused8,hstub | |
32 | ||
33 | # Test global stubs that are called by MIPS16 jals in this file. | |
34 | decl unused9,gstub | |
35 | jals unused9,mips16 | |
36 | ||
37 | # Test global stubs that are called by MIPS16 jals in another file. | |
38 | decl unused10,gstub | |
39 | ||
40 | # Test global stubs that aren't called at all. | |
41 | decl unused11,gstub | |
42 | ||
43 | # Test local stubs that are used by non-MIPS16 PIC calls in this file. | |
44 | decl used1,lstub | |
45 | callpic used1,nomips16 | |
46 | ||
47 | # Test local stubs that are used by non-MIPS16 jals in this file. | |
48 | decl used2,lstub | |
49 | jals used2,nomips16 | |
50 | ||
51 | # Test local stubs that are used by both MIPS16 and non-MIPS16 PIC | |
52 | # calls in this file. | |
53 | decl used3,lstub | |
54 | callpic used3,nomips16 | |
55 | callpic used3,mips16 | |
56 | ||
57 | # Test local stubs that are used by both MIPS16 and non-MIPS16 jals | |
58 | # in this file. | |
59 | decl used4,lstub | |
60 | jals used4,nomips16 | |
61 | jals used4,mips16 | |
62 | ||
63 | # Test local stubs that are used by a combination of MIPS16 PIC calls | |
64 | # and non-MIPS16 jals in this file. | |
65 | decl used5,lstub | |
66 | jals used5,nomips16 | |
67 | callpic used5,mips16 | |
68 | ||
69 | # Test hidden stubs that are used by non-MIPS16 PIC calls in this file. | |
70 | decl used6,hstub | |
71 | callpic used6,nomips16 | |
72 | ||
73 | # Test hidden stubs that are used by non-MIPS16 jals in this file. | |
74 | decl used7,hstub | |
75 | jals used7,nomips16 | |
76 | ||
77 | # Test hidden stubs that are used by non-MIPS16 PIC calls in another | |
78 | # file. | |
79 | decl used8,hstub | |
80 | ||
81 | # Test hidden stubs that are used by non-MIPS16 jals in another | |
82 | # file. | |
83 | decl used9,hstub | |
84 | ||
85 | # Test hidden stubs that are used by both MIPS16 and non-MIPS16 PIC | |
86 | # calls in this file. | |
87 | decl used10,hstub | |
88 | callpic used10,nomips16 | |
89 | callpic used10,mips16 | |
90 | ||
91 | # Test hidden stubs that are used by both MIPS16 and non-MIPS16 jals | |
92 | # in this file. | |
93 | decl used11,hstub | |
94 | jals used11,nomips16 | |
95 | jals used11,mips16 | |
96 | ||
97 | # Test hidden stubs that are used by a combination of MIPS16 PIC calls | |
98 | # and non-MIPS16 jals in this file. | |
99 | decl used12,hstub | |
100 | jals used12,nomips16 | |
101 | callpic used12,mips16 | |
102 | ||
103 | # Test global stubs that are used by non-MIPS16 PIC calls in this file. | |
104 | decl used13,gstub | |
105 | callpic used13,nomips16 | |
106 | ||
107 | # Test global stubs that are used by non-MIPS16 jals in this file. | |
108 | decl used14,gstub | |
109 | jals used14,nomips16 | |
110 | ||
111 | # Test global stubs that are used by non-MIPS16 PIC calls in another | |
112 | # file. | |
113 | decl used15,gstub | |
114 | ||
115 | # Test global stubs that are used by non-MIPS16 jals in another file. | |
116 | decl used16,gstub | |
117 | ||
118 | # Test global stubs that are used by both MIPS16 and non-MIPS16 PIC | |
119 | # calls in this file. | |
120 | decl used17,gstub | |
121 | callpic used17,nomips16 | |
122 | callpic used17,mips16 | |
123 | ||
124 | # Test global stubs that are used by both MIPS16 and non-MIPS16 jals | |
125 | # in this file. | |
126 | decl used18,gstub | |
127 | jals used18,nomips16 | |
128 | jals used18,mips16 | |
129 | ||
130 | # Test global stubs that are used by a combination of MIPS16 PIC calls | |
131 | # and non-MIPS16 jals in this file. | |
132 | decl used19,gstub | |
133 | jals used19,nomips16 | |
134 | callpic used19,mips16 | |
135 | ||
136 | # Test global stubs that are used by MIPS16 PIC calls in this file. | |
137 | # We currently force all targets of call16 relocations to be dynamic, | |
138 | # and the stub must be the definition of the dynamic symbol. | |
139 | decl used20,gstub | |
140 | callpic used20,mips16 | |
141 | ||
142 | # Test global stubs that are used by MIPS16 PIC calls in another file. | |
143 | # Needed for the same reason as used21. | |
144 | decl used21,gstub |