diff options
author | Marvin Häuser <mhaeuser@posteo.de> | 2021-04-08 19:58:35 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-04-10 13:22:31 +0100 |
commit | 1cc87565110014205f647fd413f897a1a5a04b22 (patch) | |
tree | 2635a76c9a74f09af179e37d82f3bb3b5ec7c49a | |
parent | 1192edf394aaebde666c6aafda1c8b782b08a845 (diff) | |
download | ipxe-1cc87565110014205f647fd413f897a1a5a04b22.tar.gz |
[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>
-rw-r--r-- | src/scripts/efi.lds | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts/efi.lds b/src/scripts/efi.lds index f1049f24b..36022545d 100644 --- a/src/scripts/efi.lds +++ b/src/scripts/efi.lds @@ -106,5 +106,6 @@ SECTIONS { *(.einfo.*) *(.discard) *(.discard.*) + *(.pci_devlist.*) } } |