diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-26 05:51:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-04 14:27:40 (GMT) |
commit | 08f11151c236b2c472aa9d8d38809fb46246135d (patch) | |
tree | cbee244166e8ad495fa04b6944bf785e927a1116 /arch/sh/cpu | |
parent | aceba5a5cff05c14b9352244d931019b2d92b8fd (diff) | |
download | u-boot-08f11151c236b2c472aa9d8d38809fb46246135d.tar.xz |
sh: merge compiler flag -ffixed-r13
-ffixed-r13 is defined commonly for sh2, sh3, sh4.
Move it to arch/sh/config.mk
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'arch/sh/cpu')
-rw-r--r-- | arch/sh/cpu/sh2/config.mk | 1 | ||||
-rw-r--r-- | arch/sh/cpu/sh3/config.mk | 1 | ||||
-rw-r--r-- | arch/sh/cpu/sh4/config.mk | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk index 25abcdd..4904d76 100644 --- a/arch/sh/cpu/sh2/config.mk +++ b/arch/sh/cpu/sh2/config.mk @@ -14,5 +14,4 @@ PLATFORM_CPPFLAGS += -m3e -mb endif PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic) -PLATFORM_RELFLAGS += -ffixed-r13 PLATFORM_LDFLAGS += $(ENDIANNESS) diff --git a/arch/sh/cpu/sh3/config.mk b/arch/sh/cpu/sh3/config.mk index abd4b8d..24b5c47 100644 --- a/arch/sh/cpu/sh3/config.mk +++ b/arch/sh/cpu/sh3/config.mk @@ -12,4 +12,3 @@ # # PLATFORM_CPPFLAGS += -DCONFIG_SH3 -m3 -PLATFORM_RELFLAGS += -ffixed-r13 diff --git a/arch/sh/cpu/sh4/config.mk b/arch/sh/cpu/sh4/config.mk index 753580b..5773d4f 100644 --- a/arch/sh/cpu/sh4/config.mk +++ b/arch/sh/cpu/sh4/config.mk @@ -9,4 +9,3 @@ # # PLATFORM_CPPFLAGS += -DCONFIG_SH4 -m4-nofpu -PLATFORM_RELFLAGS += -ffixed-r13 |