upgrade to 2011.02, rename patchset directory

SVN-Revision: 25515
This commit is contained in:
Imre Kaloz 2011-02-13 11:27:58 +00:00
parent e4589a2e5f
commit 01a424b4f9
16 changed files with 15 additions and 80 deletions

View file

@ -8,7 +8,7 @@ choice
default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
default GCC_VERSION_4_4_5 if (powerpc || ubicom32)
default GCC_VERSION_4_4_5 if (TARGET_omap35xx || TARGET_octeon || TARGET_sibyte)
default GCC_VERSION_4_5_1_LINARO
default GCC_VERSION_LINARO
help
Select the version of gcc you wish to use.
@ -21,8 +21,8 @@ choice
config GCC_VERSION_4_5_2
bool "gcc 4.5.2"
config GCC_VERSION_4_5_1_LINARO
bool "gcc 4.5.1 with Linaro enhancements"
config GCC_VERSION_LINARO
bool "gcc 4.5.2 with Linaro enhancements"
config GCC_VERSION_LLVM
bool "llvm-gcc 4.2"

View file

@ -5,9 +5,9 @@ config GCC_VERSION
default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
default "4.4.5" if GCC_VERSION_4_4_5
default "4.5.2" if GCC_VERSION_4_5_2
default "4.5.1+l" if GCC_VERSION_4_5_1_LINARO
default "linaro" if GCC_VERSION_LINARO
default "llvm" if GCC_VERSION_LLVM
default "4.5.1+l"
default "linaro"
config GCC_VERSION_4_3
bool
@ -22,7 +22,7 @@ config GCC_VERSION_4_4
config GCC_VERSION_4_5
bool
default y if GCC_VERSION_4_5_2
default y if GCC_VERSION_4_5_1_LINARO
default y if GCC_VERSION_LINARO
if !TOOLCHAINOPTS
@ -43,7 +43,7 @@ if !TOOLCHAINOPTS
default y if powerpc
default y if ubicom32
config GCC_VERSION_4_5_1_LINARO
config GCC_VERSION_LINARO
default y
endif

View file

@ -36,12 +36,12 @@ ifdef CONFIG_GCC_VERSION_LLVM
PKG_SOURCE_SUBDIR:=$(GCC_DIR)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
else
ifeq ($(CONFIG_GCC_VERSION),"4.5.1+l")
PKG_REV:=4.5-2010.12-0
ifeq ($(CONFIG_GCC_VERSION),"linaro")
PKG_REV:=4.5-2011.02-0
PKG_VERSION:=4.5.2
PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/4.5-2010.12-0/+download/
PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/4.5-2011.02-0/+download/
PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.bz2
PKG_MD5SUM:=a01e511fd1a3b42b54d239b393f740fe
PKG_MD5SUM:=d93199c1296e053f57fcc7888b54d488
GCC_DIR:=gcc-linaro-$(PKG_REV)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
else

View file

@ -1,65 +0,0 @@
>From d0557763b0713a4c006bd2405eede3924569cafd Mon Sep 17 00:00:00 2001
From: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Date: Mon, 5 Jul 2010 11:28:49 +0100
Subject: [PATCH 2/2] Fix PR44392
---
gcc/config/arm/arm.md | 43 +++++++++++++++++++------------------------
1 files changed, 19 insertions(+), 24 deletions(-)
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -11523,34 +11523,29 @@
(define_expand "bswapsi2"
[(set (match_operand:SI 0 "s_register_operand" "=r")
(bswap:SI (match_operand:SI 1 "s_register_operand" "r")))]
-"TARGET_EITHER"
+"TARGET_EITHER && (arm_arch6 || !optimize_size)"
"
- if (!arm_arch6)
- {
- if (!optimize_size)
- {
- rtx op2 = gen_reg_rtx (SImode);
- rtx op3 = gen_reg_rtx (SImode);
+ if (!arm_arch6)
+ {
+ rtx op2 = gen_reg_rtx (SImode);
+ rtx op3 = gen_reg_rtx (SImode);
- if (TARGET_THUMB)
- {
- rtx op4 = gen_reg_rtx (SImode);
- rtx op5 = gen_reg_rtx (SImode);
+ if (TARGET_THUMB)
+ {
+ rtx op4 = gen_reg_rtx (SImode);
+ rtx op5 = gen_reg_rtx (SImode);
- emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
- op2, op3, op4, op5));
- }
- else
- {
- emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
- op2, op3));
- }
+ emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
+ op2, op3, op4, op5));
+ }
+ else
+ {
+ emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
+ op2, op3));
+ }
- DONE;
- }
- else
- FAIL;
- }
+ DONE;
+ }
"
)

View file

@ -157,7 +157,7 @@
flag_reorder_blocks = opt2;
flag_reorder_functions = opt2;
flag_tree_vrp = opt2;
@@ -919,6 +917,8 @@ decode_options (unsigned int argc, const
@@ -920,6 +918,8 @@ decode_options (unsigned int argc, const
/* -O3 optimizations. */
opt3 = (optimize >= 3);
@ -166,7 +166,7 @@
flag_predictive_commoning = opt3;
flag_inline_functions = opt3;
flag_unswitch_loops = opt3;
@@ -1647,6 +1647,17 @@ common_handle_option (size_t scode, cons
@@ -1648,6 +1648,17 @@ common_handle_option (size_t scode, cons
enable_warning_as_error (arg, value, lang_mask);
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
@@ -4358,6 +4358,22 @@ This option is only supported for C and
@@ -4359,6 +4359,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
@@ -6110,7 +6126,7 @@ so, the first branch is redirected to ei
@@ -6112,7 +6128,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.