Parse the intermediate ELF file directly instead of using libbfd, in order to allow for cross-compiled ELF objects. As a side bonus, this eliminates libbfd as a build requirement. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
53 |
|
53 |
|
54 |
|
54 |
|
55 |
|
55 |
|
56 |
|
|
|
57 |
|
|
|
58 |
|
56 |
|
59 |
|
57 |
|
60 |
|
58 |
|
|
|
||
1303 |
|
1303 |
|
1304 |
|
1304 |
|
1305 |
|
1305 |
|
1306 |
|
|
|
1307 |
|
|
|
1308 |
|
|
|
1309 |
|
|
|
|
1306 |
|
|
|
1307 |
|
|
1310 |
|
1308 |
|
1311 |
|
1309 |
|
1312 |
|
1310 |
|
1313 |
|
|
|
|
1311 |
|
|
1314 |
|
1312 |
|
1315 |
|
1313 |
|
1316 |
|
1314 |
|
1317 |
|
1315 |
|
1318 |
|
1316 |
|
1319 |
|
|
|
|
1317 |
|
|
1320 |
|
1318 |
|
1321 |
|
1319 |
|
1322 |
|
1320 |
|
|
|
||
17 |
|
17 |
|
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
20 |
|
24 |
|
21 |
|
25 |
|
22 |
|
|
|
||
30 |
|
27 |
|
31 |
|
28 |
|
32 |
|
29 |
|
33 |
|
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
|
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 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
40 |
|
73 |
|
41 |
|
74 |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
42 |
|
89 |
|
43 |
|
90 |
|
44 |
|
91 |
|
|
|
||
57 |
|
104 |
|
58 |
|
105 |
|
59 |
|
106 |
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
|
107 |
|
|
65 |
|
108 |
|
66 |
|
109 |
|
67 |
|
110 |
|
|
|
||
72 |
|
115 |
|
73 |
|
116 |
|
74 |
|
117 |
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
118 |
|
81 |
|
119 |
|
82 |
|
120 |
|
83 |
|
121 |
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
|
122 |
|
|
87 |
|
123 |
|
88 |
|
124 |
|
89 |
|
125 |
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
|
126 |
|
|
95 |
|
127 |
|
96 |
|
128 |
|
97 |
|
129 |
|
|
|
||
104 |
|
136 |
|
105 |
|
137 |
|
106 |
|
138 |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
107 |
|
153 |
|
108 |
|
154 |
|
109 |
|
155 |
|
|
|
||
235 |
|
281 |
|
236 |
|
282 |
|
237 |
|
283 |
|
238 |
|
|
|
|
284 |
|
|
239 |
|
285 |
|
240 |
|
|
|
241 |
|
|
|
|
286 |
|
|
|
287 |
|
|
242 |
|
288 |
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
251 |
|
305 |
|
252 |
|
306 |
|
253 |
|
307 |
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
260 |
|
312 |
|
261 |
|
313 |
|
|
314 |
|
|
262 |
|
315 |
|
263 |
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
280 |
|
320 |
|
281 |
|
321 |
|
|
322 |
|
|
282 |
|
323 |
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
288 |
|
332 |
|
289 |
|
333 |
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
290 |
|
358 |
|
291 |
|
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
292 |
|
371 |
|
293 |
|
372 |
|
294 |
|
373 |
|
295 |
|
|
|
|
374 |
|
|
296 |
|
375 |
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
|
376 |
|
|
|
377 |
|
|
|
378 |
|
|
|
379 |
|
|
302 |
|
380 |
|
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
|
381 |
|
|
|
382 |
|
|
|
383 |
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
313 |
|
391 |
|
314 |
|
392 |
|
|
393 |
|
|
315 |
|
394 |
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
321 |
|
404 |
|
322 |
|
405 |
|
323 |
|
406 |
|
324 |
|
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
325 |
|
416 |
|
326 |
|
417 |
|
327 |
|
418 |
|
328 |
|
419 |
|
329 |
|
420 |
|
330 |
|
|
|
|
421 |
|
|
|
422 |
|
|
331 |
|
423 |
|
332 |
|
|
|
333 |
|
424 |
|
334 |
|
425 |
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
338 |
|
429 |
|
|
430 |
|
|
339 |
|
431 |
|
340 |
|
432 |
|
341 |
|
|
|
342 |
|
433 |
|
343 |
|
434 |
|
344 |
|
435 |
|
|
|
||
349 |
|
440 |
|
350 |
|
441 |
|
351 |
|
442 |
|
|
443 |
|
|
|
444 |
|
|
|
445 |
|
|
352 |
|
446 |
|
353 |
|
447 |
|
354 |
|
448 |
|
355 |
|
|
|
|
449 |
|
|
356 |
|
450 |
|
357 |
|
|
|
|
451 |
|
|
358 |
|
452 |
|
359 |
|
453 |
|
360 |
|
454 |
|
|
|
||
363 |
|
457 |
|
364 |
|
458 |
|
365 |
|
459 |
|
366 |
|
|
|
367 |
|
|
|
|
460 |
|
|
|
461 |
|
|
368 |
|
462 |
|
369 |
|
463 |
|
370 |
|
464 |
|
371 |
|
465 |
|
372 |
|
466 |
|
373 |
|
|
|
374 |
|
|
|
|
467 |
|
|
375 |
|
468 |
|
376 |
|
|
|
|
469 |
|
|
377 |
|
470 |
|
378 |
|
471 |
|
379 |
|
472 |
|
380 |
|
|
|
|
473 |
|
|
|
474 |
|
|
381 |
|
475 |
|
382 |
|
476 |
|
383 |
|
477 |
|
|
|
||
386 |
|
480 |
|
387 |
|
481 |
|
388 |
|
482 |
|
389 |
|
|
|
|
483 |
|
|
|
484 |
|
|
390 |
|
485 |
|
391 |
|
486 |
|
392 |
|
487 |
|
|
|
||
395 |
|
490 |
|
396 |
|
491 |
|
397 |
|
492 |
|
398 |
|
|
|
|
493 |
|
|
399 |
|
494 |
|
400 |
|
495 |
|
401 |
|
496 |
|
|
|
||
403 |
|
498 |
|
404 |
|
499 |
|
405 |
|
500 |
|
406 |
|
|
|
|
501 |
|
|
407 |
|
502 |
|
408 |
|
503 |
|
409 |
|
504 |
|
|
|
||
413 |
|
508 |
|
414 |
|
509 |
|
415 |
|
510 |
|
416 |
|
|
|
417 |
|
|
|
|
511 |
|
|
|
512 |
|
|
418 |
|
513 |
|
419 |
|
514 |
|
420 |
|
515 |
|
421 |
|
516 |
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
429 |
|
520 |
|
430 |
|
521 |
|
431 |
|
522 |
|
|
|
||
445 |
|
536 |
|
446 |
|
537 |
|
447 |
|
538 |
|
448 |
|
|
|
|
539 |
|
|
449 |
|
540 |
|
450 |
|
541 |
|
451 |
|
542 |
|
|
|
||
465 |
|
556 |
|
466 |
|
557 |
|
467 |
|
558 |
|
468 |
|
|
|
469 |
|
|
|
470 |
|
|
|
|
559 |
|
|
|
560 |
|
|
|
561 |
|
|
|
562 |
|
|
|
563 |
|
|
471 |
|
564 |
|
472 |
|
565 |
|
473 |
|
|
|
474 |
|
|
|
475 |
|
|
|
476 |
|
|
|
477 |
|
|
|
478 |
|
|
|
479 |
|
|
|
480 |
|
|
|
481 |
|
|
|
|
566 |
|
|
|
567 |
|
|
|
568 |
|
|
|
569 |
|
|
|
570 |
|
|
|
571 |
|
|
|
572 |
|
|
|
573 |
|
|
|
574 |
|
|
|
575 |
|
|
|
576 |
|
|
|
577 |
|
|
|
578 |
|
|
482 |
|
579 |
|
483 |
|
580 |
|
484 |
|
581 |
|
485 |
|
|
|
486 |
|
|
|
|
582 |
|
|
487 |
|
583 |
|
488 |
|
|
|
489 |
|
|
|
490 |
|
|
|
491 |
|
|
|
492 |
|
|
|
493 |
|
|
|
494 |
|
|
|
495 |
|
|
|
496 |
|
|
|
497 |
|
|
|
498 |
|
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
|
|
|
587 |
|
|
499 |
|
588 |
|
500 |
|
589 |
|
501 |
|
590 |
|
502 |
|
591 |
|
503 |
|
|
|
|
592 |
|
|
504 |
|
593 |
|
505 |
|
594 |
|
506 |
|
595 |
|
507 |
|
596 |
|
|
597 |
|
|
|
598 |
|
|
|
599 |
|
|
|
600 |
|
|
|
601 |
|
|
|
602 |
|
|
|
603 |
|
|
|
604 |
|
|
|
605 |
|
|
|
606 |
|
|
|
607 |
|
|
|
608 |
|
|
|
609 |
|
|
|
610 |
|
|
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
|
614 |
|
|
|
615 |
|
|
|
616 |
|
|
|
617 |
|
|
|
618 |
|
|
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
|
622 |
|
|
|
623 |
|
|
|
624 |
|
|
|
625 |
|
|
|
626 |
|
|
|
627 |
|
|
|
628 |
|
|
508 |
|
629 |
|
509 |
|
630 |
|
510 |
|
631 |
|
|
|
||
696 |
|
817 |
|
697 |
|
818 |
|
698 |
|
819 |
|
699 |
|
|
|
700 |
|
|
|
701 |
|
|
|
702 |
|
|
|
703 |
|
|
|
704 |
|
820 |
|
705 |
|
821 |
|
706 |
|
822 |
|
707 |
|
823 |
|
|
824 |
|
|
|
825 |
|
|
|
826 |
|
|
|
827 |
|
|
708 |
|
828 |
|
709 |
|
829 |
|
710 |
|
830 |
|
711 |
|
831 |
|
712 |
|
832 |
|
713 |
|
|
|
714 |
|
|
|
715 |
|
|
|
|
833 |
|
|
|
834 |
|
|
716 |
|
835 |
|
717 |
|
836 |
|
718 |
|
837 |
|
719 |
|
|
|
720 |
|
|
|
|
838 |
|
|
|
839 |
|
|
721 |
|
840 |
|
722 |
|
841 |
|
723 |
|
|
|
724 |
|
|
|
725 |
|
|
|
726 |
|
|
|
727 |
|
|
|
728 |
|
|
|
729 |
|
|
|
730 |
|
|
|
731 |
|
|
|
732 |
|
|
|
733 |
|
|
|
734 |
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
|
|
|
738 |
|
|
|
|
842 |
|
|
|
843 |
|
|
|
844 |
|
|
|
845 |
|
|
|
846 |
|
|
|
847 |
|
|
|
848 |
|
|
|
849 |
|
|
|
850 |
|
|
|
851 |
|
|
|
852 |
|
|
|
853 |
|
|
|
854 |
|
|
|
855 |
|
|
|
856 |
|
|
|
857 |
|
|
|
858 |
|
|
|
859 |
|
|
|
860 |
|
|
|
861 |
|
|
|
862 |
|
|
|
863 |
|
|
|
864 |
|
|
|
865 |
|
|
|
866 |
|
|
739 |
|
867 |
|
740 |
|
868 |
|
741 |
|
869 |
|
742 |
|
870 |
|
743 |
|
871 |
|
744 |
|
872 |
|
745 |
|
|
|
|
873 |
|
|
746 |
|
874 |
|
747 |
|
875 |
|
748 |
|
876 |
|
|
|
||
757 |
|
885 |
|
758 |
|
886 |
|
759 |
|
887 |
|
760 |
|
|
|
761 |
|
|
|
|
888 |
|
|
|
889 |
|
|
762 |
|
890 |
|
763 |
|
891 |
|
764 |
|
892 |
|
|
|
||
825 |
|
953 |
|
826 |
|
954 |
|
827 |
|
955 |
|
828 |
|
|
|
829 |
|
|
|
830 |
|
|
|
831 |
|
956 |
|
832 |
|
957 |
|
833 |
|
958 |
|