summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-02-12 09:48:39 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-02-12 09:48:39 +0000
commitd252dd3d2e19995b87c9928493d9a3652cc5ff82 (patch)
treed83082af0ffd73d691ee24f6c19272eae67b7f2a /toolchain
parentbd73e0a85d79885d31cbae660a8964ef3635a49e (diff)
downloadmtk-20170518-d252dd3d2e19995b87c9928493d9a3652cc5ff82.zip
mtk-20170518-d252dd3d2e19995b87c9928493d9a3652cc5ff82.tar.gz
mtk-20170518-d252dd3d2e19995b87c9928493d9a3652cc5ff82.tar.bz2
upgrade vanilla gcc to 4.6.2
SVN-Revision: 30470
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Config.in4
-rw-r--r--toolchain/gcc/Config.version4
-rw-r--r--toolchain/gcc/common.mk4
-rw-r--r--toolchain/gcc/patches/4.6.2/100-uclibc-conf.patch (renamed from toolchain/gcc/patches/4.6.1/100-uclibc-conf.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/301-missing-execinfo_h.patch (renamed from toolchain/gcc/patches/4.6.1/301-missing-execinfo_h.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/302-c99-snprintf.patch (renamed from toolchain/gcc/patches/4.6.1/302-c99-snprintf.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/305-libmudflap-susv3-legacy.patch (renamed from toolchain/gcc/patches/4.6.1/305-libmudflap-susv3-legacy.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/600-ubicom_support.patch (renamed from toolchain/gcc/patches/4.6.1/600-ubicom_support.patch)6
-rw-r--r--toolchain/gcc/patches/4.6.2/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/4.6.1/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/4.6.1/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/830-arm_unbreak_armv4t.patch (renamed from toolchain/gcc/patches/4.6.1/830-arm_unbreak_armv4t.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/4.6.1/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/4.6.1/910-mbsd_multi.patch)4
-rw-r--r--toolchain/gcc/patches/4.6.2/993-arm_insn-opinit-RTX_CODE-fixup.patch (renamed from toolchain/gcc/patches/4.6.1/993-arm_insn-opinit-RTX_CODE-fixup.patch)0
-rw-r--r--toolchain/gcc/patches/4.6.2/999-coldfire.patch (renamed from toolchain/gcc/patches/4.6.1/999-coldfire.patch)2
15 files changed, 12 insertions, 12 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index b027953..f5ea898 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -11,8 +11,8 @@ choice
bool "gcc 4.4.6"
depends (avr32 || ubicom32)
- config GCC_VERSION_4_6_1
- bool "gcc 4.6.1"
+ config GCC_VERSION_4_6_2
+ bool "gcc 4.6.2"
config GCC_VERSION_4_5_LINARO
bool "gcc 4.5.x with Linaro enhancements"
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 288ffa4..e565bc5 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -14,7 +14,7 @@ config GCC_DEFAULT_VERSION_4_6_LINARO
config GCC_VERSION
string
default "4.4.6" if GCC_VERSION_4_4_6
- default "4.6.1" if GCC_VERSION_4_6_1
+ default "4.6.2" if GCC_VERSION_4_6_2
default "4.5-linaro" if GCC_VERSION_4_5_LINARO
default "4.6-linaro" if GCC_VERSION_4_6_LINARO
default "llvm" if GCC_VERSION_LLVM
@@ -30,7 +30,7 @@ config GCC_VERSION_4_5
config GCC_VERSION_4_6
bool
- default y if (GCC_VERSION_4_6_1 || GCC_VERSION_4_6_LINARO)
+ default y if (GCC_VERSION_4_6_2 || GCC_VERSION_4_6_LINARO)
if !TOOLCHAINOPTS
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index ac33c3b..73d63ba 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -60,8 +60,8 @@ else
ifeq ($(PKG_VERSION),4.4.6)
PKG_MD5SUM:=ab525d429ee4425050a554bc9247d6c4
endif
- ifeq ($(PKG_VERSION),4.6.1)
- PKG_MD5SUM:=c57a9170c677bf795bdc04ed796ca491
+ ifeq ($(PKG_VERSION),4.6.2)
+ PKG_MD5SUM:=028115c4fbfb6cfd75d6369f4a90d87e
endif
endif
endif
diff --git a/toolchain/gcc/patches/4.6.1/100-uclibc-conf.patch b/toolchain/gcc/patches/4.6.2/100-uclibc-conf.patch
index ff9ad94..ff9ad94 100644
--- a/toolchain/gcc/patches/4.6.1/100-uclibc-conf.patch
+++ b/toolchain/gcc/patches/4.6.2/100-uclibc-conf.patch
diff --git a/toolchain/gcc/patches/4.6.1/301-missing-execinfo_h.patch b/toolchain/gcc/patches/4.6.2/301-missing-execinfo_h.patch
index b3f1e68..b3f1e68 100644
--- a/toolchain/gcc/patches/4.6.1/301-missing-execinfo_h.patch
+++ b/toolchain/gcc/patches/4.6.2/301-missing-execinfo_h.patch
diff --git a/toolchain/gcc/patches/4.6.1/302-c99-snprintf.patch b/toolchain/gcc/patches/4.6.2/302-c99-snprintf.patch
index eda1854..eda1854 100644
--- a/toolchain/gcc/patches/4.6.1/302-c99-snprintf.patch
+++ b/toolchain/gcc/patches/4.6.2/302-c99-snprintf.patch
diff --git a/toolchain/gcc/patches/4.6.1/305-libmudflap-susv3-legacy.patch b/toolchain/gcc/patches/4.6.2/305-libmudflap-susv3-legacy.patch
index 8e2d15f..8e2d15f 100644
--- a/toolchain/gcc/patches/4.6.1/305-libmudflap-susv3-legacy.patch
+++ b/toolchain/gcc/patches/4.6.2/305-libmudflap-susv3-legacy.patch
diff --git a/toolchain/gcc/patches/4.6.1/600-ubicom_support.patch b/toolchain/gcc/patches/4.6.2/600-ubicom_support.patch
index 8268b5e..6b68161 100644
--- a/toolchain/gcc/patches/4.6.1/600-ubicom_support.patch
+++ b/toolchain/gcc/patches/4.6.2/600-ubicom_support.patch
@@ -1,8 +1,8 @@
--- a/configure
+++ b/configure
-@@ -3608,6 +3608,9 @@ case "${target}" in
+@@ -3602,6 +3602,9 @@ case "${target}" in
ip2k-*-*)
- noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+ noconfigdirs="$noconfigdirs target-libstdc++-v3 ${libgcj}"
;;
+ ubicom32-*-*)
+ noconfigdirs="$noconfigdirs target-libffi"
@@ -9313,7 +9313,7 @@
+#define FATAL_EXIT_CODE 33
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
-@@ -2662,6 +2662,34 @@ spu-*-elf*)
+@@ -2675,6 +2675,34 @@ spu-*-elf*)
c_target_objs="${c_target_objs} spu-c.o"
cxx_target_objs="${cxx_target_objs} spu-c.o"
;;
diff --git a/toolchain/gcc/patches/4.6.1/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/4.6.2/810-arm-softfloat-libgcc.patch
index 60cfde4..60cfde4 100644
--- a/toolchain/gcc/patches/4.6.1/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches/4.6.2/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/4.6.1/820-libgcc_pic.patch b/toolchain/gcc/patches/4.6.2/820-libgcc_pic.patch
index 3760ac2..3760ac2 100644
--- a/toolchain/gcc/patches/4.6.1/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches/4.6.2/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/4.6.1/830-arm_unbreak_armv4t.patch b/toolchain/gcc/patches/4.6.2/830-arm_unbreak_armv4t.patch
index 37f8f2a..37f8f2a 100644
--- a/toolchain/gcc/patches/4.6.1/830-arm_unbreak_armv4t.patch
+++ b/toolchain/gcc/patches/4.6.2/830-arm_unbreak_armv4t.patch
diff --git a/toolchain/gcc/patches/4.6.1/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/4.6.2/840-armv4_pass_fix-v4bx_to_ld.patch
index e5a26c1..e5a26c1 100644
--- a/toolchain/gcc/patches/4.6.1/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches/4.6.2/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/4.6.1/910-mbsd_multi.patch b/toolchain/gcc/patches/4.6.2/910-mbsd_multi.patch
index 5a1adc9..3623d38 100644
--- a/toolchain/gcc/patches/4.6.1/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/4.6.2/910-mbsd_multi.patch
@@ -209,7 +209,7 @@
-Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol
-Wformat-security -Wformat-y2k @gol
-@@ -4495,6 +4495,22 @@ This option is only supported for C and
+@@ -4497,6 +4497,22 @@ This option is only supported for C and
@option{-Wall} and by @option{-pedantic}, which can be disabled with
@option{-Wno-pointer-sign}.
@@ -232,7 +232,7 @@
@item -Wstack-protector
@opindex Wstack-protector
@opindex Wno-stack-protector
-@@ -6317,7 +6333,7 @@ so, the first branch is redirected to ei
+@@ -6319,7 +6335,7 @@ so, the first branch is redirected to ei
second branch or a point immediately following it, depending on whether
the condition is known to be true or false.
diff --git a/toolchain/gcc/patches/4.6.1/993-arm_insn-opinit-RTX_CODE-fixup.patch b/toolchain/gcc/patches/4.6.2/993-arm_insn-opinit-RTX_CODE-fixup.patch
index 864f972..864f972 100644
--- a/toolchain/gcc/patches/4.6.1/993-arm_insn-opinit-RTX_CODE-fixup.patch
+++ b/toolchain/gcc/patches/4.6.2/993-arm_insn-opinit-RTX_CODE-fixup.patch
diff --git a/toolchain/gcc/patches/4.6.1/999-coldfire.patch b/toolchain/gcc/patches/4.6.2/999-coldfire.patch
index cda4237..6083e0b 100644
--- a/toolchain/gcc/patches/4.6.1/999-coldfire.patch
+++ b/toolchain/gcc/patches/4.6.2/999-coldfire.patch
@@ -1,6 +1,6 @@
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
-@@ -1791,6 +1791,7 @@ m68k-*-linux*) # Motorola m68k's runnin
+@@ -1804,6 +1804,7 @@ m68k-*-linux*) # Motorola m68k's runnin
if test x$sjlj != x1; then
tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
fi