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-r99322.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-r99322.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch new file mode 100644 index 0000000000..6962c1cecf --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | 2007-06-06 Joseph Myers <joseph@codesourcery.com> | ||
| 2 | |||
| 3 | gcc/ | ||
| 4 | * config/arm/arm.h (VALID_IWMMXT_REG_MODE): Allow SImode. | ||
| 5 | (ARM_LEGITIMIZE_RELOAD_ADDRESS): Reduce range allowed for SImode | ||
| 6 | offsets with iWMMXt. | ||
| 7 | * config/arm/arm.c (arm_hard_regno_mode_ok): Update for change to | ||
| 8 | VALID_IWMMXT_REG_MODE. | ||
| 9 | |||
| 10 | 2010-07-26 Julian Brown <julian@codesourcery.com> | ||
| 11 | |||
| 12 | Merge from Sourcery G++ 4.4: | ||
| 13 | |||
| 14 | 2007-07-05 Mark Shinwell <shinwell@codesourcery.com> | ||
| 15 | |||
| 16 | gcc/ | ||
| 17 | |||
| 18 | === modified file 'gcc/config/arm/arm.c' | ||
| 19 | --- old/gcc/config/arm/arm.c 2010-08-05 12:06:40 +0000 | ||
| 20 | +++ new/gcc/config/arm/arm.c 2010-08-05 14:33:31 +0000 | ||
| 21 | @@ -16538,7 +16538,7 @@ | ||
| 22 | return mode == SImode; | ||
| 23 | |||
| 24 | if (IS_IWMMXT_REGNUM (regno)) | ||
| 25 | - return VALID_IWMMXT_REG_MODE (mode); | ||
| 26 | + return VALID_IWMMXT_REG_MODE (mode) && mode != SImode; | ||
| 27 | } | ||
| 28 | |||
| 29 | /* We allow almost any value to be stored in the general registers. | ||
| 30 | |||
| 31 | === modified file 'gcc/config/arm/arm.h' | ||
| 32 | --- old/gcc/config/arm/arm.h 2010-08-05 14:29:52 +0000 | ||
| 33 | +++ new/gcc/config/arm/arm.h 2010-08-05 14:33:31 +0000 | ||
| 34 | @@ -1077,7 +1077,7 @@ | ||
| 35 | (GET_MODE_CLASS (MODE1) == GET_MODE_CLASS (MODE2)) | ||
| 36 | |||
| 37 | #define VALID_IWMMXT_REG_MODE(MODE) \ | ||
| 38 | - (arm_vector_mode_supported_p (MODE) || (MODE) == DImode) | ||
| 39 | + (arm_vector_mode_supported_p (MODE) || (MODE) == DImode || (MODE) == SImode) | ||
| 40 | |||
| 41 | /* Modes valid for Neon D registers. */ | ||
| 42 | #define VALID_NEON_DREG_MODE(MODE) \ | ||
| 43 | @@ -1364,6 +1364,9 @@ | ||
| 44 | else if (TARGET_MAVERICK && TARGET_HARD_FLOAT) \ | ||
| 45 | /* Need to be careful, -256 is not a valid offset. */ \ | ||
| 46 | low = val >= 0 ? (val & 0xff) : -((-val) & 0xff); \ | ||
| 47 | + else if (TARGET_REALLY_IWMMXT && MODE == SImode) \ | ||
| 48 | + /* Need to be careful, -1024 is not a valid offset. */ \ | ||
| 49 | + low = val >= 0 ? (val & 0x3ff) : -((-val) & 0x3ff); \ | ||
| 50 | else if (MODE == SImode \ | ||
| 51 | || (MODE == SFmode && TARGET_SOFT_FLOAT) \ | ||
| 52 | || ((MODE == HImode || MODE == QImode) && ! arm_arch4)) \ | ||
| 53 | |||
