summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch')
-rw-r--r--meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch b/meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch
deleted file mode 100644
index aba2a497e7..0000000000
--- a/meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106743.patch
+++ /dev/null
@@ -1,25 +0,0 @@
12011-04-26 Andrew Stubbs <ams@codesourcery.com>
2
3 Backport from FSF:
4
5 2011-04-05 Tom de Vries <tom@codesourcery.com>
6
7 PR target/43920
8 gcc/
9 * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing
10 for size.
11
12=== modified file 'gcc/config/arm/arm.h'
13--- old/gcc/config/arm/arm.h 2011-05-03 15:17:25 +0000
14+++ new/gcc/config/arm/arm.h 2011-04-26 14:42:21 +0000
15@@ -2018,7 +2018,8 @@
16 /* Try to generate sequences that don't involve branches, we can then use
17 conditional instructions */
18 #define BRANCH_COST(speed_p, predictable_p) \
19- (TARGET_32BIT ? 4 : (optimize > 0 ? 2 : 0))
20+ (TARGET_32BIT ? (TARGET_THUMB2 && !speed_p ? 1 : 4) \
21+ : (optimize > 0 ? 2 : 0))
22
23 /* Position Independent Code. */
24 /* We decide which register to use based on the compilation options and
25