upgrade vanilla gcc to 4.6.2

SVN-Revision: 30470
master
Imre Kaloz 13 years ago
parent bd73e0a85d
commit d252dd3d2e
  1. 4
      toolchain/gcc/Config.in
  2. 4
      toolchain/gcc/Config.version
  3. 4
      toolchain/gcc/common.mk
  4. 0
      toolchain/gcc/patches/4.6.2/100-uclibc-conf.patch
  5. 0
      toolchain/gcc/patches/4.6.2/301-missing-execinfo_h.patch
  6. 0
      toolchain/gcc/patches/4.6.2/302-c99-snprintf.patch
  7. 0
      toolchain/gcc/patches/4.6.2/305-libmudflap-susv3-legacy.patch
  8. 6
      toolchain/gcc/patches/4.6.2/600-ubicom_support.patch
  9. 0
      toolchain/gcc/patches/4.6.2/810-arm-softfloat-libgcc.patch
  10. 0
      toolchain/gcc/patches/4.6.2/820-libgcc_pic.patch
  11. 0
      toolchain/gcc/patches/4.6.2/830-arm_unbreak_armv4t.patch
  12. 0
      toolchain/gcc/patches/4.6.2/840-armv4_pass_fix-v4bx_to_ld.patch
  13. 4
      toolchain/gcc/patches/4.6.2/910-mbsd_multi.patch
  14. 0
      toolchain/gcc/patches/4.6.2/993-arm_insn-opinit-RTX_CODE-fixup.patch
  15. 2
      toolchain/gcc/patches/4.6.2/999-coldfire.patch

@ -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"

@ -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

@ -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

@ -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"
;;

@ -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.

@ -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
Loading…
Cancel
Save