[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:
Marvin Häuser
2021-04-08 19:58:35 +02:00
committed by Michael Brown
parent 1192edf394
commit 1cc8756511

View File

@@ -106,5 +106,6 @@ SECTIONS {
*(.einfo.*)
*(.discard)
*(.discard.*)
*(.pci_devlist.*)
}
}