summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.2.3/arm-crunch-fp_consts.patch
blob: 5f289bbebebd18d8d46b2420804af348aa5c3537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gcc-4.1.2/gcc/config/arm/arm.c-original	2007-06-12 16:17:14.000000000 +1000
+++ gcc-4.1.2/gcc/config/arm/arm.c	2007-06-12 16:17:28.000000000 +1000
@@ -5218,7 +5218,9 @@
   int i;
   REAL_VALUE_TYPE r;
 
+  if (TARGET_MAVERICK)
+    fp_consts_inited = 0;
-  if (TARGET_VFP)
+  else if (TARGET_VFP)
     fp_consts_inited = 1;
   else
     fp_consts_inited = 8;