aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-20 09:03:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-20 09:03:44 +0000
commit82fcc3bef3d1fc3a8a7afaabb3ca2a15ee29d68b (patch)
treefa36c7573726e1bee3e378a884fd199f807152d2 /toolchain
parent9708adb16f7b0b684a6de6eec79ae2b44955f669 (diff)
downloadupstream-82fcc3bef3d1fc3a8a7afaabb3ca2a15ee29d68b.tar.gz
upstream-82fcc3bef3d1fc3a8a7afaabb3ca2a15ee29d68b.tar.bz2
upstream-82fcc3bef3d1fc3a8a7afaabb3ca2a15ee29d68b.zip
use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size on mips and performance on arm
SVN-Revision: 18094
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Config.in2
-rw-r--r--toolchain/gcc/Config.version6
2 files changed, 7 insertions, 1 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 2c0f93e79a..f0fb184761 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -11,6 +11,8 @@ choice
default GCC_VERSION_4_3_3 if TARGET_coldfire
default GCC_VERSION_4_4_0 if ubicom32
default GCC_VERSION_4_4_1 if TARGET_octeon
+ default GCC_VERSION_4_3_3_CS if mips || mipsel
+ default GCC_VERSION_4_3_3_CS if arm || armeb
default GCC_VERSION_4_1_2
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 12987f4020..631bd66bb6 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -4,7 +4,7 @@ config GCC_VERSION
default "4.1.2" if GCC_VERSION_4_1_2
default "4.2.4" if GCC_VERSION_4_2_4
default "4.3.3" if GCC_VERSION_4_3_3
- default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
+ default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
default "4.3.4" if GCC_VERSION_4_3_4
default "4.4.0" if GCC_VERSION_4_4_0
default "4.4.1" if GCC_VERSION_4_4_1
@@ -60,6 +60,10 @@ if !TOOLCHAINOPTS
default y if TARGET_etrax
default y if TARGET_coldfire
+ config GCC_VERSION_4_3_3_CS
+ default y if mips || mipsel
+ default y if arm || armeb
+
config GCC_VERSION_4_4_0
default y if ubicom32