summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-20 09:03:44 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-20 09:03:44 +0000
commit1635e008aaae374deebb51bf918dcd9649c48023 (patch)
tree5ba9181303817dcc5cd4fbdc61348ca6be5b4474
parentb406bcc62e9d93fa4b4d04076cb0776c3deed527 (diff)
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
-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 2c0f93e79..f0fb18476 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 12987f402..631bd66bb 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