aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
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
commitd3a82c4c7e423643734c5403c3e2e2059f0cf6c6 (patch)
tree5ba9181303817dcc5cd4fbdc61348ca6be5b4474 /toolchain/gcc
parent975e7ac2fccaf2cd3d427f1f1fa6613308bb8873 (diff)
downloadupstream-d3a82c4c7e423643734c5403c3e2e2059f0cf6c6.tar.gz
upstream-d3a82c4c7e423643734c5403c3e2e2059f0cf6c6.tar.bz2
upstream-d3a82c4c7e423643734c5403c3e2e2059f0cf6c6.zip
use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size on mips and performance on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18094 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-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