summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-12-23 14:02:13 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-12-23 14:02:13 +0100
commit7eb7dce48ba082c30f1fceced04c275420158b9a (patch)
treed2f5b6bed38d7ffc0aad7f5c313701da4d8a8e19 /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch
parent8bb6722b1356cc3b8494e33553240363addd2d80 (diff)
downloadmeta-openembedded-7eb7dce48ba082c30f1fceced04c275420158b9a.tar.gz
gcc 4.5: sync with both OE and yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch
new file mode 100644
index 0000000000..6bc33f2be2
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99433.patch
@@ -0,0 +1,40 @@
12010-10-29 Julian Brown <julian@codesourcery.com>
2
3 Launchpad #629671
4
5 gcc/
6 * config/arm/arm.h (REG_CLASS_CONTENTS): Remove soft frame pointer
7 from CORE_REGS and GENERAL_REGS classes.
8 * config/arm/arm.md (*thumb1_movsi_insn): Ignore all parts of final
9 constraint for register preferencing.
10
11=== modified file 'gcc/config/arm/arm.h'
12--- old/gcc/config/arm/arm.h 2010-11-04 10:45:05 +0000
13+++ new/gcc/config/arm/arm.h 2010-11-11 11:12:14 +0000
14@@ -1262,8 +1262,8 @@
15 { 0x0000DF00, 0x00000000, 0x00000000, 0x00000000 }, /* HI_REGS */ \
16 { 0x01000000, 0x00000000, 0x00000000, 0x00000000 }, /* CC_REG */ \
17 { 0x00000000, 0x00000000, 0x00000000, 0x80000000 }, /* VFPCC_REG */ \
18- { 0x0200DFFF, 0x00000000, 0x00000000, 0x00000000 }, /* GENERAL_REGS */ \
19- { 0x0200FFFF, 0x00000000, 0x00000000, 0x00000000 }, /* CORE_REGS */ \
20+ { 0x0000DFFF, 0x00000000, 0x00000000, 0x00000000 }, /* GENERAL_REGS */ \
21+ { 0x0000FFFF, 0x00000000, 0x00000000, 0x00000000 }, /* CORE_REGS */ \
22 { 0xFAFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x7FFFFFFF } /* ALL_REGS */ \
23 }
24
25
26=== modified file 'gcc/config/arm/arm.md'
27--- old/gcc/config/arm/arm.md 2010-11-04 10:45:05 +0000
28+++ new/gcc/config/arm/arm.md 2010-11-11 11:12:14 +0000
29@@ -5160,8 +5160,8 @@
30 })
31
32 (define_insn "*thumb1_movsi_insn"
33- [(set (match_operand:SI 0 "nonimmediate_operand" "=l,l,l,l,l,>,l, m,*lhk")
34- (match_operand:SI 1 "general_operand" "l, I,J,K,>,l,mi,l,*lhk"))]
35+ [(set (match_operand:SI 0 "nonimmediate_operand" "=l,l,l,l,l,>,l, m,*l*h*k")
36+ (match_operand:SI 1 "general_operand" "l, I,J,K,>,l,mi,l,*l*h*k"))]
37 "TARGET_THUMB1
38 && ( register_operand (operands[0], SImode)
39 || register_operand (operands[1], SImode))"
40