commit | b0fd6e0917e430716bea1c90b07033a8bb77b3c8 | [log] [tgz] |
---|---|---|
author | rick <rick@andestech.com> | Thu Apr 14 14:32:27 2016 +0800 |
committer | Andes <uboot@andestech.com> | Thu Sep 29 15:38:10 2016 +0800 |
tree | d1cc2d0cf5a1003e19b08d05f9ae390af3f770d7 | |
parent | 02fe15c0ce939046e1c646a2ce53357d0de32dda [diff] [blame] |
nds32: Support relocation. Enable pie option for relocation. Signed-off-by: rick <rick@andestech.com> Cc: Andes <uboot@andestech.com>
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index 5ac9f90..ca76641 100644 --- a/arch/nds32/config.mk +++ b/arch/nds32/config.mk
@@ -19,4 +19,4 @@ 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