aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-21 08:26:40 -0400
committerTom Rini <trini@konsulko.com>2020-05-21 08:26:40 -0400
commit2fa581ba910368d0f7f995fb906d6c5e4218b594 (patch)
treefdbb131099e601f1500908398db119d7f2050225 /arch/sh
parentb0b13f4114d30b6756e0f6f3b5819d78de22541e (diff)
parent56f01746ab5c6950bd0f76d02252ee4450f86659 (diff)
downloadu-boot-2fa581ba910368d0f7f995fb906d6c5e4218b594.zip
u-boot-2fa581ba910368d0f7f995fb906d6c5e4218b594.tar.gz
u-boot-2fa581ba910368d0f7f995fb906d6c5e4218b594.tar.bz2
Merge git://git.denx.de/u-boot-sh
- Enable -ffunction-sections / -fdata-sections --gc-sections to SH - RCar Gen3 updates
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index 6ef4463..85dab38 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -13,6 +13,6 @@ LDFLAGS_STANDALONE += -EB
endif
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
-PLATFORM_RELFLAGS += -fpic
+PLATFORM_RELFLAGS += -fpic -ffunction-sections -fdata-sections
LDFLAGS_FINAL = --gc-sections
PLATFORM_RELFLAGS += -ffixed-r13