summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.8/0048-PR58854_fix_arm_apcs_epilogue.patch23
1 files changed, 23 insertions, 0 deletions
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 @@
1Backport fix for PR target/58854
2
32013-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
12Upstream-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,