diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-07-19 03:00:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:35 +0100 |
commit | aa18b3cc988f7611cff4370c8aab3e44055a1499 (patch) | |
tree | 7dbb92f97d2378935fa9f1333480a4573fc7252c /meta/recipes-devtools/gcc | |
parent | 676e3e903f5d6ec9ce3bd3788ab5d5c21ece7f69 (diff) | |
download | poky-aa18b3cc988f7611cff4370c8aab3e44055a1499.tar.gz |
gcc_4.5.1: fix arm_bswapsi2.patch
Acoording to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392
correct fix should be
TARGET_EITHER && (arm_arch6 || !optimize_size)
not
TARGET_EITHER && (arm_arch6 && !optimize_size)
(From OE-Core rev: 7306e0113a158418acc9cc13d2e82125cb772389)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch index 9b9f874189..a7a6684718 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch | |||
@@ -9,7 +9,7 @@ Index: gcc-4.5/gcc/config/arm/arm.md | |||
9 | [(set (match_operand:SI 0 "s_register_operand" "=r") | 9 | [(set (match_operand:SI 0 "s_register_operand" "=r") |
10 | (bswap:SI (match_operand:SI 1 "s_register_operand" "r")))] | 10 | (bswap:SI (match_operand:SI 1 "s_register_operand" "r")))] |
11 | -"TARGET_EITHER" | 11 | -"TARGET_EITHER" |
12 | +"TARGET_EITHER && (arm_arch6 && !optimize_size)" | 12 | +"TARGET_EITHER && (arm_arch6 || !optimize_size)" |
13 | " | 13 | " |
14 | if (!arm_arch6) | 14 | if (!arm_arch6) |
15 | { | 15 | { |