summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.3.4/ep93xx/arm-crunch-fp_consts.patch
blob: 0bc886bd99071f3ae405071abc785c6d937b5dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Maverick does not have immediate FP constants.

--- gcc-4.3.2/gcc/config/arm/arm.c-original	2007-06-12 16:17:14.000000000 +1000
+++ gcc-4.3.2/gcc/config/arm/arm.c	2007-06-12 16:17:28.000000000 +1000
@@ -5699,7 +5699,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;