summaryrefslogtreecommitdiff
path: root/arch/mips/config.mk
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-12 19:03:59 -0500
committerTom Rini <trini@ti.com>2013-02-12 19:03:59 -0500
commit9c748e02d99476e6a08d55eadfd8776edffe1e2e (patch)
tree74018fa9cefe7428a49b398355885b840687cf32 /arch/mips/config.mk
parent1634e969189ea428bc5fb9cf7d70bb314c98fc4f (diff)
parent04380c651a2ff0d1495822321d2b7668dcd02537 (diff)
Merge branch 'next' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/config.mk')
-rw-r--r--arch/mips/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/config.mk b/arch/mips/config.mk
index de9140b67b..aaa94e8be2 100644
--- a/arch/mips/config.mk
+++ b/arch/mips/config.mk
@@ -65,4 +65,5 @@ PLATFORM_CPPFLAGS += -G 0 -mabicalls -fpic $(ENDIANNESS)
PLATFORM_CPPFLAGS += -msoft-float
PLATFORM_LDFLAGS += -G 0 -static -n -nostdlib $(ENDIANNESS)
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
-LDFLAGS_FINAL += --gc-sections
+LDFLAGS_FINAL += --gc-sections -pie
+OBJCFLAGS += --remove-section=.dynsym