This ensures that the linker generates the .rel.dyn fixup table, which will be applied to the relocated image before transferring control to it.
Signed-off-by: Gabor Juhos <[email protected]> Cc: Daniel Schwierzeck <[email protected]> --- arch/mips/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/config.mk b/arch/mips/config.mk index de9140b..57f2338 100644 --- a/arch/mips/config.mk +++ b/arch/mips/config.mk @@ -65,4 +65,4 @@ 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 -- 1.7.10 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

