diff options
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.patch | 21 |
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 @@ | |||
1 | 2010-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' | ||
7 | Index: 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. */ | ||