diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc index b34c7ae3c4..f1260af3a3 100644 --- a/meta/recipes-devtools/gcc/gcc-4.8.inc +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc | |||
@@ -78,6 +78,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | |||
78 | file://0046-libatomic-deptracking.patch \ | 78 | file://0046-libatomic-deptracking.patch \ |
79 | file://0047-repomembug.patch \ | 79 | file://0047-repomembug.patch \ |
80 | file://0048-PR57532.patch \ | 80 | file://0048-PR57532.patch \ |
81 | file://0048-PR58854_fix_arm_apcs_epilogue.patch \ | ||
81 | " | 82 | " |
82 | SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304" | 83 | SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304" |
83 | SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813" | 84 | SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813" |
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch b/meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch new file mode 100644 index 0000000000..0ef245a17f --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Backport fix for PR target/58854 | ||
2 | |||
3 | 2013-11-11 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | ||
4 | |||
5 | Backported from mainline | ||
6 | 2013-10-30 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | ||
7 | |||
8 | PR target/58854 | ||
9 | * config/arm/arm.c (arm_expand_epilogue_apcs_frame): Emit blockage | ||
10 | |||
11 | |||
12 | Upstream-Status: Backport | ||
13 | |||
14 | --- gcc-4_8-branch/gcc/config/arm/arm.c 2013/11/11 08:00:45 204664 | ||
15 | +++ gcc-4_8-branch/gcc/config/arm/arm.c 2013/11/11 09:38:14 204665 | ||
16 | @@ -23555,6 +23555,7 @@ | ||
17 | num_regs = bit_count (saved_regs_mask); | ||
18 | if ((offsets->outgoing_args != (1 + num_regs)) || cfun->calls_alloca) | ||
19 | { | ||
20 | + emit_insn (gen_blockage ()); | ||
21 | /* Unwind the stack to just below the saved registers. */ | ||
22 | emit_insn (gen_addsi3 (stack_pointer_rtx, | ||
23 | hard_frame_pointer_rtx, | ||