summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-01-13 13:39:44 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-01-13 13:39:44 +0100
commit94237e310fd27f9f66699c07311ff0ae17f8ee20 (patch)
tree173f6eb82befe60a06d34240e89a26f364f371b5 /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
parent9411e8a9e0428b6a1ec43ae086c1a5e6366a597e (diff)
downloadmeta-openembedded-94237e310fd27f9f66699c07311ff0ae17f8ee20.tar.gz
gcc 4.5: sync with OE
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
new file mode 100644
index 0000000000..e6b0fad08f
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
@@ -0,0 +1,34 @@
12010-12-21 Ulrich Weigand <uweigand@de.ibm.com>
2
3 LP: #617384
4 Backport from mainline:
5
6 gcc/
7 * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
8 instructions injected into the prologue to prologue_locator.
9
10=== modified file 'gcc/config/arm/arm.c'
11--- old/gcc/config/arm/arm.c 2010-12-10 15:34:19 +0000
12+++ new/gcc/config/arm/arm.c 2010-12-21 14:13:38 +0000
13@@ -5080,7 +5080,7 @@
14 }
15 else
16 {
17- rtx seq;
18+ rtx seq, insn;
19
20 if (!cfun->machine->pic_reg)
21 cfun->machine->pic_reg = gen_reg_rtx (Pmode);
22@@ -5097,6 +5097,11 @@
23
24 seq = get_insns ();
25 end_sequence ();
26+
27+ for (insn = seq; insn; insn = NEXT_INSN (insn))
28+ if (INSN_P (insn))
29+ INSN_LOCATOR (insn) = prologue_locator;
30+
31 /* We can be called during expansion of PHI nodes, where
32 we can't yet emit instructions directly in the final
33 insn stream. Queue the insns on the entry edge, they will
34