This patch removes PLATFORM_RELFLAGS from board specific config.mk files and
define them in arch specific config.mk file.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+
LDFLAGS_u-boot = --gc-sections --relax
CONFIG_SYS_TEXT_BASE = 0x00000000
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000
CONFIG_SYS_TEXT_BASE = 0x00000000
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections