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-r99340.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-r99340.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99340.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99340.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99340.patch new file mode 100644 index 0000000000..31fa99a2e3 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99340.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Merge from Sourcery G++ 4.4: | ||
| 2 | |||
| 3 | 2009-08-26 Kazu Hirata <kazu@codesourcery.com> | ||
| 4 | |||
| 5 | Issue #6089 | ||
| 6 | gcc/ | ||
| 7 | * config/arm/arm.c (arm_rtx_costs_1): Don't special case for | ||
| 8 | Thumb-2 in the MINUS case. | ||
| 9 | |||
| 10 | 2010-07-26 Julian Brown <julian@codesourcery.com> | ||
| 11 | |||
| 12 | Backport from FSF mainline: | ||
| 13 | |||
| 14 | gcc/ | ||
| 15 | |||
| 16 | === modified file 'gcc/config/arm/arm.c' | ||
| 17 | --- old/gcc/config/arm/arm.c 2010-08-12 13:35:39 +0000 | ||
| 18 | +++ new/gcc/config/arm/arm.c 2010-08-12 14:08:29 +0000 | ||
| 19 | @@ -6494,23 +6494,6 @@ | ||
| 20 | return true; | ||
| 21 | |||
| 22 | case MINUS: | ||
| 23 | - if (TARGET_THUMB2) | ||
| 24 | - { | ||
| 25 | - if (GET_MODE_CLASS (mode) == MODE_FLOAT) | ||
| 26 | - { | ||
| 27 | - if (TARGET_HARD_FLOAT && (mode == SFmode || mode == DFmode)) | ||
| 28 | - *total = COSTS_N_INSNS (1); | ||
| 29 | - else | ||
| 30 | - *total = COSTS_N_INSNS (20); | ||
| 31 | - } | ||
| 32 | - else | ||
| 33 | - *total = COSTS_N_INSNS (ARM_NUM_REGS (mode)); | ||
| 34 | - /* Thumb2 does not have RSB, so all arguments must be | ||
| 35 | - registers (subtracting a constant is canonicalized as | ||
| 36 | - addition of the negated constant). */ | ||
| 37 | - return false; | ||
| 38 | - } | ||
| 39 | - | ||
| 40 | if (mode == DImode) | ||
| 41 | { | ||
| 42 | *total = COSTS_N_INSNS (ARM_NUM_REGS (mode)); | ||
| 43 | |||
