mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 15:54:04 +02:00
[toolchain/gcc]: upgrade vanilla gcc to 4.6.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30470 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1f93aa565e
commit
98ab10100c
@ -11,8 +11,8 @@ choice
|
|||||||
bool "gcc 4.4.6"
|
bool "gcc 4.4.6"
|
||||||
depends (avr32 || ubicom32)
|
depends (avr32 || ubicom32)
|
||||||
|
|
||||||
config GCC_VERSION_4_6_1
|
config GCC_VERSION_4_6_2
|
||||||
bool "gcc 4.6.1"
|
bool "gcc 4.6.2"
|
||||||
|
|
||||||
config GCC_VERSION_4_5_LINARO
|
config GCC_VERSION_4_5_LINARO
|
||||||
bool "gcc 4.5.x with Linaro enhancements"
|
bool "gcc 4.5.x with Linaro enhancements"
|
||||||
|
@ -14,7 +14,7 @@ config GCC_DEFAULT_VERSION_4_6_LINARO
|
|||||||
config GCC_VERSION
|
config GCC_VERSION
|
||||||
string
|
string
|
||||||
default "4.4.6" if GCC_VERSION_4_4_6
|
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.5-linaro" if GCC_VERSION_4_5_LINARO
|
||||||
default "4.6-linaro" if GCC_VERSION_4_6_LINARO
|
default "4.6-linaro" if GCC_VERSION_4_6_LINARO
|
||||||
default "llvm" if GCC_VERSION_LLVM
|
default "llvm" if GCC_VERSION_LLVM
|
||||||
@ -30,7 +30,7 @@ config GCC_VERSION_4_5
|
|||||||
|
|
||||||
config GCC_VERSION_4_6
|
config GCC_VERSION_4_6
|
||||||
bool
|
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
|
if !TOOLCHAINOPTS
|
||||||
|
|
||||||
|
@ -60,8 +60,8 @@ else
|
|||||||
ifeq ($(PKG_VERSION),4.4.6)
|
ifeq ($(PKG_VERSION),4.4.6)
|
||||||
PKG_MD5SUM:=ab525d429ee4425050a554bc9247d6c4
|
PKG_MD5SUM:=ab525d429ee4425050a554bc9247d6c4
|
||||||
endif
|
endif
|
||||||
ifeq ($(PKG_VERSION),4.6.1)
|
ifeq ($(PKG_VERSION),4.6.2)
|
||||||
PKG_MD5SUM:=c57a9170c677bf795bdc04ed796ca491
|
PKG_MD5SUM:=028115c4fbfb6cfd75d6369f4a90d87e
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
--- a/configure
|
--- a/configure
|
||||||
+++ b/configure
|
+++ b/configure
|
||||||
@@ -3608,6 +3608,9 @@ case "${target}" in
|
@@ -3602,6 +3602,9 @@ case "${target}" in
|
||||||
ip2k-*-*)
|
ip2k-*-*)
|
||||||
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 ${libgcj}"
|
||||||
;;
|
;;
|
||||||
+ ubicom32-*-*)
|
+ ubicom32-*-*)
|
||||||
+ noconfigdirs="$noconfigdirs target-libffi"
|
+ noconfigdirs="$noconfigdirs target-libffi"
|
||||||
@ -9313,7 +9313,7 @@
|
|||||||
+#define FATAL_EXIT_CODE 33
|
+#define FATAL_EXIT_CODE 33
|
||||||
--- a/gcc/config.gcc
|
--- a/gcc/config.gcc
|
||||||
+++ b/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"
|
c_target_objs="${c_target_objs} spu-c.o"
|
||||||
cxx_target_objs="${cxx_target_objs} spu-c.o"
|
cxx_target_objs="${cxx_target_objs} spu-c.o"
|
||||||
;;
|
;;
|
@ -209,7 +209,7 @@
|
|||||||
-Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol
|
-Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol
|
||||||
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol
|
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol
|
||||||
-Wformat-security -Wformat-y2k @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{-Wall} and by @option{-pedantic}, which can be disabled with
|
||||||
@option{-Wno-pointer-sign}.
|
@option{-Wno-pointer-sign}.
|
||||||
|
|
||||||
@ -232,7 +232,7 @@
|
|||||||
@item -Wstack-protector
|
@item -Wstack-protector
|
||||||
@opindex Wstack-protector
|
@opindex Wstack-protector
|
||||||
@opindex Wno-stack-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
|
second branch or a point immediately following it, depending on whether
|
||||||
the condition is known to be true or false.
|
the condition is known to be true or false.
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
--- a/gcc/config.gcc
|
--- a/gcc/config.gcc
|
||||||
+++ b/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
|
if test x$sjlj != x1; then
|
||||||
tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
|
tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user