[oe-commits] Ilya Yanok : gcc_4.5.1: fix arm_bswapsi2.patch
git version control
git at git.openembedded.org
Wed Jul 20 14:27:47 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 7306e0113a158418acc9cc13d2e82125cb772389
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7306e0113a158418acc9cc13d2e82125cb772389
Author: Ilya Yanok <yanok at emcraft.com>
Date: Tue Jul 19 03:00:52 2011 +0200
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)
Signed-off-by: Ilya Yanok <yanok at emcraft.com>
---
.../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 9b9f874..a7a6684 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
[(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)"
++"TARGET_EITHER && (arm_arch6 || !optimize_size)"
"
if (!arm_arch6)
{
More information about the Openembedded-commits
mailing list