[efi] Use elf2efi utility in place of efilink

elf2efi converts a suitable ELF executable (containing relocation
information, and with appropriate virtual addresses) into an EFI
executable.  It is less tightly coupled with the gPXE build process
and, in particular, does not require the use of a hand-crafted PE
image header in efiprefix.S.

elf2efi correctly handles .bss sections, which significantly reduces
the size of the gPXE EFI executable.
This commit is contained in:
Michael Brown
2009-01-07 02:05:51 +00:00
parent 85e5e25c52
commit 314779eb36
16 changed files with 939 additions and 1258 deletions

View File

@@ -37,7 +37,8 @@ SYMCHECK := $(PERL) ./util/symcheck.pl
SORTOBJDUMP := $(PERL) ./util/sortobjdump.pl
NRV2B := ./util/nrv2b
ZBIN := ./util/zbin
EFILINK := ./util/efilink
ELF2EFI32 := ./util/elf2efi32
ELF2EFI64 := ./util/elf2efi64
DOXYGEN := doxygen
###############################################################################