summaryrefslogtreecommitdiff
path: root/arch/arm/config.mk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-04 11:31:02 -0600
committerSimon Glass <sjg@chromium.org>2015-05-14 18:49:34 -0600
commit5a942a1527766c27674ea71222a2a98982e8a661 (patch)
tree23c9621d6a4e9be12c71fa118e0af81158b5bb3e /arch/arm/config.mk
parentf9523961b00f6ca3c33d2af641daed58fef96d1b (diff)
arm: Include the .got section in the binary
Commit 47ed5dd0 dropped the .got section from U-Boot binaries. This is needed for some relocations, and causes failures if missing. Add it back. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r--arch/arm/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index c005ce4905..0550225581 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -112,7 +112,8 @@ endif
ifdef CONFIG_ARM64
OBJCOPYFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn
else
-OBJCOPYFLAGS += -j .text -j .secure_text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn
+OBJCOPYFLAGS += -j .text -j .secure_text -j .rodata -j .hash -j .data -j \
+ .got -j .got.plt -j .u_boot_list -j .rel.dyn
endif
ifdef CONFIG_OF_EMBED