aboutsummaryrefslogtreecommitdiff
path: root/arch/nds32/config.mk
diff options
context:
space:
mode:
authorrick2016-04-14 14:32:27 +0800
committerAndes2016-09-29 15:38:10 +0800
commitd607f6fa99a67dd1b40c08ba21ca6f3aaff933ce (patch)
treed1cc2d0cf5a1003e19b08d05f9ae390af3f770d7 /arch/nds32/config.mk
parent06572f0301c18e63b887efc91803bb9467e55dbe (diff)
nds32: Support relocation.
Enable pie option for relocation. Signed-off-by: rick <rick@andestech.com> Cc: Andes <uboot@andestech.com>
Diffstat (limited to 'arch/nds32/config.mk')
-rw-r--r--arch/nds32/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index 5ac9f90402c..ca766417734 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -19,4 +19,4 @@ PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax
PLATFORM_RELFLAGS += -gdwarf-2
PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie
-LDFLAGS_u-boot = --gc-sections --relax
+LDFLAGS_u-boot = --gc-sections --relax -pie