[efi] Use elf2efi utility in place of efilink
authorMichael Brown <mcb30@etherboot.org>
Wed, 7 Jan 2009 02:05:51 +0000 (02:05 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 7 Jan 2009 22:59:05 +0000 (22:59 +0000)
commit314779eb369db746be5373b398111d5b746d67de
tree0856694401b250357ad6ece6e2845c4611b58d01
parent85e5e25c52834788239eb8b6c94e0d3aeddd2705
[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.
16 files changed:
src/Makefile
src/Makefile.housekeeping
src/arch/i386/Makefile.efi
src/arch/i386/prefix/efiprefix.S [deleted file]
src/arch/i386/scripts/efi.lds [deleted file]
src/arch/x86/Makefile
src/arch/x86/prefix/efiprefix.c [new file with mode: 0644]
src/arch/x86/scripts/efi.lds [new file with mode: 0644]
src/arch/x86_64/Makefile.efi
src/arch/x86_64/prefix/efiprefix.S [deleted file]
src/arch/x86_64/scripts/efi.lds [deleted file]
src/include/gpxe/efi/efi.h
src/interface/efi/efi_init.c [moved from src/interface/efi/efi_entry.c with 95% similarity]
src/util/.gitignore
src/util/efilink.c [deleted file]
src/util/elf2efi.c [new file with mode: 0644]