summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:03:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:12:02 +0100
commitbe10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch)
tree9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch
parent93b28937ac67ba46d65f55637e42552e224aa7e2 (diff)
downloadmeta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch
new file mode 100644
index 0000000000..c9a9316861
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99411.patch
@@ -0,0 +1,21 @@
12010-10-08 Jie Zhang <jie@codesourcery.com>
2
3 * config/arm/arm.c (arm_override_options): Disable
4 -fsched-interblock for Cortex-M4.
5
6=== modified file 'gcc/config/arm/arm.c'
7Index: gcc-4.5/gcc/config/arm/arm.c
8===================================================================
9--- gcc-4.5.orig/gcc/config/arm/arm.c
10+++ gcc-4.5/gcc/config/arm/arm.c
11@@ -1913,6 +1913,10 @@ arm_override_options (void)
12 fix_cm3_ldrd = 0;
13 }
14
15+ /* Disable -fsched-interblock for Cortex-M4. */
16+ if (arm_selected_tune->core == cortexm4)
17+ flag_schedule_interblock = 0;
18+
19 if (TARGET_THUMB1 && flag_schedule_insns)
20 {
21 /* Don't warn since it's on by default in -O2. */