X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fmips%2Fconfig.mk;h=aaa94e8be203f7e1c0a1da17a240f0b7decc20cd;hb=317461c1db97abef243964ae4c7cc7d3485ec73f;hp=de9140b67b5258b9a4511bc0dbbdd913c00c525a;hpb=b3873d3f4c424e6563750bb517fac03c2e833cdc;p=u-boot 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