mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
[efi] Discard .pci_devlist.* sections for EFI images
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>
This commit is contained in:
committed by
Michael Brown
parent
1192edf394
commit
1cc8756511
@@ -106,5 +106,6 @@ SECTIONS {
|
||||
*(.einfo.*)
|
||||
*(.discard)
|
||||
*(.discard.*)
|
||||
*(.pci_devlist.*)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user