x86: efi: lds: don't discard any relocation sections
The incoming EFI PCI root bridge IO protocol driver will register
PCI fixups. Executing them will fail because the hook function's
relocation information is stripped from the final barebox.efi binary.

Instead of adding each section by name, just keep all .rela* sections
in the final binary.

This doesn't yet increase the size of the resulting barebox (yet).

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1eaadd3 commit eaaa4c81cceb2f5047cfe917d76dae8049f7c24a
@Ahmad Fatoum Ahmad Fatoum authored on 4 Dec 2019
Sascha Hauer committed on 9 Dec 2019
Showing 1 changed file
View
arch/x86/mach-efi/elf_x86_64_efi.lds.S