diff options
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch')
-rw-r--r-- | meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch new file mode 100644 index 000000000..e6b0fad08 --- /dev/null +++ b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | 2010-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 | |||