summaryrefslogtreecommitdiff
path: root/arch/arm/config.mk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-11-13 18:55:02 -0700
committerSimon Glass <sjg@chromium.org>2017-12-12 19:53:45 -0700
commitcf2a8fd66d8d4b855f5955e15e4d8e436b4bc3d5 (patch)
treee7374d5055f51084d98ecb94c0292ba85e8fe8e1 /arch/arm/config.mk
parent19790632648be6fff7a4898350bd52565bde7c96 (diff)
binman: arm: Include the binman symbol table
This area of the image contains symbols whose values are filled in by binman. If this feature is not used, the table is empty. Add this to the ARM SPL link script. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r--arch/arm/config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 02f61fcc3c..9c213b897c 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -136,10 +136,12 @@ endif
# limit ourselves to the sections we want in the .bin.
ifdef CONFIG_ARM64
OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .data \
- -j .u_boot_list -j .rela.dyn -j .got -j .got.plt
+ -j .u_boot_list -j .rela.dyn -j .got -j .got.plt \
+ -j .binman_sym_table
else
OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .hash \
- -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn
+ -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn \
+ -j .binman_sym_table
endif
# if a dtb section exists we always have to include it