The linker chooses to look for _start first and always picks efidrvprefix.o to satisfy it (probably because it's earlier in the archive) which causes a multiple definition error when the linker later has to pick efiprefix.o for other symbols. Fix by using EFI-specific TGT_LD_FLAGS with an explicit entry point. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Joshua Oreman <oremanj@rwcr.net> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
612 | 612 |
|
613 | 613 |
|
614 | 614 |
|
615 |
|
|
615 |
|
|
616 |
|
|
616 | 617 |
|
617 | 618 |
|
618 | 619 |
|
|
||
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
16 | 20 |
|
17 | 21 |
|
18 | 22 |
|
|
||
29 | 29 |
|
30 | 30 |
|
31 | 31 |
|
32 |
|
|
33 |
|
|
32 |
|
|
33 |
|
|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
|
||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 |
|
|
32 |
|
|
31 |
|
|
32 |
|
|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
|
||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
|
|
9 |
|
|
10 | 8 |
|
11 | 9 |
|
12 | 10 |
|