This removes the need for inline safety wrappers, marginally reducing the size penalty of weak functions, and works around an apparent binutils bug that causes undefined weak symbols to not actually be NULL when compiling with -fPIE (as EFI builds do). A bug in versions of binutils prior to 2.16 (released in 2005) will cause same-file weak definitions to not work with those toolchains. Update the README to reflect our new dependency on binutils >= 2.16. Signed-off-by: Joshua Oreman <oremanj@rwcr.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
|
||
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
|
41 |
|
|
60 |
|
42 |
|
61 |
|
43 |
|
|
|
||
351 |
|
351 |
|
352 |
|
352 |
|
353 |
|
353 |
|
354 |
|
|
|
|
354 |
|
|
355 |
|
355 |
|
356 |
|
356 |
|
357 |
|
357 |
|
|
|
||
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
|
32 |
|
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
|
|
||
318 |
|
318 |
|
319 |
|
319 |
|
320 |
|
320 |
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
321 |
|
335 |
|
322 |
|
336 |
|
323 |
|
337 |
|
|
|
||
179 |
|
179 |
|
180 |
|
180 |
|
181 |
|
181 |
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
182 |
|
194 |
|
183 |
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
|
184 |
|
|
|
185 |
|
|
214 |
|
186 |
|
215 |
|
187 |
|
216 |
|
|
|
217 |
|
188 |
|
218 |
|
189 |
|
219 |
|
190 |
|
|
|
||
630 |
|
630 |
|
631 |
|
631 |
|
632 |
|
632 |
|
633 |
|
|
|
|
633 |
|
|
634 |
|
634 |
|
635 |
|
635 |
|
636 |
|
636 |
|
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
30 |
|
40 |
|
31 |
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
66 |
|
35 |
|
67 |
|
36 |
|
68 |
|
37 |
|
|
|
||
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
21 |
|
22 |
|
|
|
23 |
|
|
|
|
22 |
|
|
24 |
|
23 |
|
25 |
|
24 |
|
|
|
||
139 |
|
139 |
|
140 |
|
140 |
|
141 |
|
141 |
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
142 |
|
153 |
|
143 |
|
154 |
|
144 |
|
155 |
|
|
|
||
1406 |
|
1406 |
|
1407 |
|
1407 |
|
1408 |
|
1408 |
|
|
1409 |
|
|
|
1410 |
|
|
|
1411 |
|
|
|
1412 |
|
|
|
1413 |
|
|
1409 |
|
1414 |
|
1410 |
|
1415 |
|
1411 |
|
1416 |
|
|
|
||
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
45 |
|
52 |
|
46 |
|
53 |
|
47 |
|
54 |
|
|
|
||
155 |
|
162 |
|
156 |
|
163 |
|
157 |
|
164 |
|
158 |
|
|
|
|
165 |
|
|
159 |
|
166 |
|
160 |
|
167 |
|
161 |
|
168 |
|