From 5d7b80359cdb37bb29c8410b2e4a03d443172c43 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 14 Jan 2012 22:52:40 +0000 Subject: [toolchain/gcc]: upgrade to latest linaro releases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/patches/4.6-linaro/600-ubicom_support.patch | 8 ++++---- toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch | 6 +++--- .../4.6-linaro/993-arm_insn-opinit-RTX_CODE-fixup.patch | 15 --------------- toolchain/gcc/patches/4.6-linaro/999-coldfire.patch | 2 +- 4 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 toolchain/gcc/patches/4.6-linaro/993-arm_insn-opinit-RTX_CODE-fixup.patch (limited to 'toolchain/gcc/patches/4.6-linaro') diff --git a/toolchain/gcc/patches/4.6-linaro/600-ubicom_support.patch b/toolchain/gcc/patches/4.6-linaro/600-ubicom_support.patch index 8268b5e92..79f8c3f39 100644 --- a/toolchain/gcc/patches/4.6-linaro/600-ubicom_support.patch +++ b/toolchain/gcc/patches/4.6-linaro/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" ;; @@ -9350,7 +9350,7 @@ tm_file="dbxelf.h elfos.h newlib-stdint.h v850/v850.h" --- a/libgcc/config.host +++ b/libgcc/config.host -@@ -572,6 +572,15 @@ sparc64-*-netbsd*) +@@ -563,6 +563,15 @@ sparc64-*-netbsd*) ;; spu-*-elf*) ;; diff --git a/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch b/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch index 5a1adc971..45a551e6e 100644 --- a/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/4.6-linaro/910-mbsd_multi.patch @@ -166,7 +166,7 @@ { OPT_LEVELS_3_PLUS, OPT_ftree_loop_distribute_patterns, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_fpredictive_commoning, NULL, 1 }, /* Inlining of functions reducing size is a good idea with -Os -@@ -1399,6 +1399,17 @@ common_handle_option (struct gcc_options +@@ -1405,6 +1405,17 @@ common_handle_option (struct gcc_options opts, opts_set, loc, dc); break; @@ -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-linaro/993-arm_insn-opinit-RTX_CODE-fixup.patch b/toolchain/gcc/patches/4.6-linaro/993-arm_insn-opinit-RTX_CODE-fixup.patch deleted file mode 100644 index 864f972d1..000000000 --- a/toolchain/gcc/patches/4.6-linaro/993-arm_insn-opinit-RTX_CODE-fixup.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/gcc/config/arm/arm-protos.h -+++ b/gcc/config/arm/arm-protos.h -@@ -41,11 +41,11 @@ extern unsigned int arm_dbx_register_num - extern void arm_output_fn_unwind (FILE *, bool); - - --#ifdef RTX_CODE - extern bool arm_vector_mode_supported_p (enum machine_mode); - extern bool arm_small_register_classes_for_mode_p (enum machine_mode); - extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode); - extern int const_ok_for_arm (HOST_WIDE_INT); -+#ifdef RTX_CODE - extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx, - HOST_WIDE_INT, rtx, rtx, int); - extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, rtx *, rtx *); diff --git a/toolchain/gcc/patches/4.6-linaro/999-coldfire.patch b/toolchain/gcc/patches/4.6-linaro/999-coldfire.patch index cda4237b4..6083e0bf8 100644 --- a/toolchain/gcc/patches/4.6-linaro/999-coldfire.patch +++ b/toolchain/gcc/patches/4.6-linaro/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 -- cgit v1.2.3