diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99358.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99358.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99358.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99358.patch new file mode 100644 index 0000000000..eedcf62d1e --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99358.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | 2010-06-14 Paul Brook <paul@codesourcery.com> | ||
| 2 | |||
| 3 | Issue #8879 | ||
| 4 | gcc/ | ||
| 5 | * config/arm/arm.c (use_vfp_abi): Add sorry() for Thumb-1 | ||
| 6 | hard-float ABI. | ||
| 7 | |||
| 8 | 2010-07-26 Julian Brown <julian@codesourcery.com> | ||
| 9 | |||
| 10 | Merge from Sourcery G++ 4.4: | ||
| 11 | |||
| 12 | 2010-06-12 Jie Zhang <jie@codesourcery.com> | ||
| 13 | |||
| 14 | |||
| 15 | === modified file 'gcc/config/arm/arm.c' | ||
| 16 | --- old/gcc/config/arm/arm.c 2010-08-13 15:15:12 +0000 | ||
| 17 | +++ new/gcc/config/arm/arm.c 2010-08-13 15:37:39 +0000 | ||
| 18 | @@ -3969,7 +3969,18 @@ | ||
| 19 | use_vfp_abi (enum arm_pcs pcs_variant, bool is_double) | ||
| 20 | { | ||
| 21 | if (pcs_variant == ARM_PCS_AAPCS_VFP) | ||
| 22 | - return true; | ||
| 23 | + { | ||
| 24 | + static bool seen_thumb1_vfp = false; | ||
| 25 | + | ||
| 26 | + if (TARGET_THUMB1 && !seen_thumb1_vfp) | ||
| 27 | + { | ||
| 28 | + sorry ("Thumb-1 hard-float VFP ABI"); | ||
| 29 | + /* sorry() is not immediately fatal, so only display this once. */ | ||
| 30 | + seen_thumb1_vfp = true; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + return true; | ||
| 34 | + } | ||
| 35 | |||
| 36 | if (pcs_variant != ARM_PCS_AAPCS_LOCAL) | ||
| 37 | return false; | ||
| 38 | |||
