summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-11-17 12:49:16 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-17 08:42:37 +0100
commit22c565ae385d4f1e1028e278977c3e03bdef4c26 (patch)
treee933e94530dc106e022ca5f261ab92993a344624
parenta5c549e29a07f34a3f85f265b6ab56ae3de8eb20 (diff)
downloadbarebox-22c565ae385d4f1e1028e278977c3e03bdef4c26.tar.gz
barebox-22c565ae385d4f1e1028e278977c3e03bdef4c26.tar.xz
x86: stop copying unneeded sections to barebox.efi
Stop copying the following sections: __barebox_initcalls __barebox_exitcalls __barebox_cmd .barebox_magic Such sections do not exist. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.barebox.org/20211117034918.1226358-4-masahiroy@kernel.org Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/x86/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index c73842cf86..5623b2cea5 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -56,8 +56,7 @@ lds-$(CONFIG_X86_64) := arch/x86/mach-efi/elf_x86_64_efi.lds
quiet_cmd_efi_image = EFI-IMG $@
cmd_efi_image = $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
- -j .dynsym -j .rel -j .rela -j .reloc -j __barebox_initcalls \
- -j __barebox_exitcalls -j __barebox_cmd -j .barebox_magicvar \
+ -j .dynsym -j .rel -j .rela -j .reloc \
-j .bbenv.* -j .bblogo.* --target=$(TARGET) $< $@
KBUILD_BINARY := barebox