summaryrefslogtreecommitdiffstats
path: root/src/scripts
Commit message (Collapse)AuthorAgeFilesLines
* [efi] Align EFI image sections by page sizeMarvin Häuser2021-04-101-9/+9
| | | | | | | | | | For optimal memory permission management, PE sections need to be aligned by the platform's minimum page size. Currently, the PE section alignment is fixed to 32 bytes, which is below the typical 4kB page size. Align all sections to 4kB and adjust ELF to PE image conversion accordingly. Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
* [efi] Discard .pci_devlist.* sections for EFI imagesMarvin Häuser2021-04-101-0/+1
| | | | | | | | As per https://github.com/ipxe/ipxe/pull/313#issuecomment-816018398, these sections are not required for EFI execution. Discard them to avoid implementation-defined alignment malforming binaries. Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
* [efi] Centralise architecture-independent EFI Makefile and linker scriptMichael Brown2016-03-121-0/+110
Signed-off-by: Michael Brown <mcb30@ipxe.org>