]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sh: merge compiler flag -ffixed-r13
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Feb 2014 05:51:03 +0000 (14:51 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:40 +0000 (09:27 -0500)
-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>
arch/sh/config.mk
arch/sh/cpu/sh2/config.mk
arch/sh/cpu/sh3/config.mk
arch/sh/cpu/sh4/config.mk

index 758c0701e5d70da89c9af63c298331c60a2283df..eefcbcd124a5ac268c7ffaeb83a9372f720c6331 100644 (file)
@@ -15,3 +15,4 @@ endif
 PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
 PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
 LDFLAGS_FINAL = --gc-sections
+PLATFORM_RELFLAGS += -ffixed-r13
index 25abcdd48f05c98b4a52a83f51893ddc04294427..4904d76d44bb53672f2222d14855b8f89836467e 100644 (file)
@@ -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)
index abd4b8d2bd96da122499a06b263ac2e332c4ab75..24b5c47859df6684f01230ef97ee364e20052857 100644 (file)
@@ -12,4 +12,3 @@
 #
 #
 PLATFORM_CPPFLAGS += -DCONFIG_SH3 -m3
-PLATFORM_RELFLAGS += -ffixed-r13
index 753580beb1cc66524954c191e5250d73b8e55514..5773d4fec9cf181cc663d900e4737f8434c07cfb 100644 (file)
@@ -9,4 +9,3 @@
 #
 #
 PLATFORM_CPPFLAGS += -DCONFIG_SH4 -m4-nofpu
-PLATFORM_RELFLAGS += -ffixed-r13