summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch')
-rw-r--r--meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch b/meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch
new file mode 100644
index 0000000000..5f289bbebe
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch
@@ -0,0 +1,13 @@
1--- gcc-4.1.2/gcc/config/arm/arm.c-original 2007-06-12 16:17:14.000000000 +1000
2+++ gcc-4.1.2/gcc/config/arm/arm.c 2007-06-12 16:17:28.000000000 +1000
3@@ -5218,7 +5218,9 @@
4 int i;
5 REAL_VALUE_TYPE r;
6
7+ if (TARGET_MAVERICK)
8+ fp_consts_inited = 0;
9- if (TARGET_VFP)
10+ else if (TARGET_VFP)
11 fp_consts_inited = 1;
12 else
13 fp_consts_inited = 8;