summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author张忠山 <zzs213@126.com>2019-03-06 19:12:13 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-07 08:20:59 +0100
commit25de30638a2859f9e07c61821cdc71906b7169b8 (patch)
treed8cff2c8cf17d5c02737e0fa24fc77d9ac62ebe5
parenta20eefb995f543631ff607e00228a944d29f96de (diff)
downloadbarebox-25de30638a2859f9e07c61821cdc71906b7169b8.tar.gz
barebox-25de30638a2859f9e07c61821cdc71906b7169b8.tar.xz
fix zbarebox linking with new ld
Signed-off-by: 张忠山 <zzs213@126.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/pbl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile
index 5d7e85b37..2c28f5603 100644
--- a/arch/arm/pbl/Makefile
+++ b/arch/arm/pbl/Makefile
@@ -31,7 +31,7 @@ $(obj)/zbarebox.S: $(obj)/zbarebox FORCE
$(call if_changed,disasm)
PBL_CPPFLAGS += -fdata-sections -ffunction-sections
-LDFLAGS_zbarebox := -Map $(obj)/zbarebox.map --gc-sections
+LDFLAGS_zbarebox := -Map $(obj)/zbarebox.map --gc-sections --no-dynamic-linker
ifdef CONFIG_PBL_RELOCATABLE
LDFLAGS_zbarebox += -pie
else