diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:03:58 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:12:02 +0100 |
| commit | be10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch) | |
| tree | 9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99321.patch | |
| parent | 93b28937ac67ba46d65f55637e42552e224aa7e2 (diff) | |
| download | meta-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-r99321.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99321.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99321.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99321.patch new file mode 100644 index 0000000000..b122ab10f8 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99321.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | 2010-07-26 Julian Brown <julian@codesourcery.com> | ||
| 2 | |||
| 3 | Merge from Sourcery G++ 4.4: | ||
| 4 | |||
| 5 | 2007-07-05 Mark Shinwell <shinwell@codesourcery.com> | ||
| 6 | |||
| 7 | gcc/ | ||
| 8 | * config/arm/arm.h (BRANCH_COST): Set to 1 when optimizing for size | ||
| 9 | on Thumb-2. | ||
| 10 | |||
| 11 | 2010-08-05 Andrew Stubbs <ams@codesourcery.com> | ||
| 12 | |||
| 13 | gcc/testsuite/ | ||
| 14 | |||
| 15 | === modified file 'gcc/config/arm/arm.h' | ||
| 16 | --- old/gcc/config/arm/arm.h 2010-08-03 10:40:56 +0000 | ||
| 17 | +++ new/gcc/config/arm/arm.h 2010-08-05 14:29:52 +0000 | ||
| 18 | @@ -2210,7 +2210,8 @@ | ||
| 19 | /* Try to generate sequences that don't involve branches, we can then use | ||
| 20 | conditional instructions */ | ||
| 21 | #define BRANCH_COST(speed_p, predictable_p) \ | ||
| 22 | - (TARGET_32BIT ? 4 : (optimize > 0 ? 2 : 0)) | ||
| 23 | + (TARGET_32BIT ? (TARGET_THUMB2 && optimize_size ? 1 : 4) \ | ||
| 24 | + : (optimize > 0 ? 2 : 0)) | ||
| 25 | |||
| 26 | /* Position Independent Code. */ | ||
| 27 | /* We decide which register to use based on the compilation options and | ||
| 28 | |||
