]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
netbsd.h (TARGET_DEFAULT): Default includes software floating point.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 14 Aug 1998 00:28:17 +0000 (00:28 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 14 Aug 1998 00:28:17 +0000 (18:28 -0600)
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21713

gcc/ChangeLog
gcc/config/arm/netbsd.h

index cd116ff8972fea77adba274982e85e9f111bdbff..416959b5518c69d2148f958c54546428ddd543af 100644 (file)
@@ -1,3 +1,9 @@
+Fri Aug 14 01:23:23 1998  Richard Earnshaw (rearnsha@arm.com)
+
+       * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating 
+       point.
+       (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.
+
 Fri Aug 14 01:23:23 1998  Jeffrey A Law  (law@cygnus.com)
 
        * README.RS6000: Bring over dje's changes from the mainline
index 2ff09a8147f6b58bcbe785a44559e156e85d8f2c..374d5bf65abdd60d78b3636e7988a2eeecb30c24 100644 (file)
@@ -36,7 +36,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6
 
 /* Default is to use APCS-32 mode.  */
-#define TARGET_DEFAULT ARM_FLAG_APCS_32
+#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SOFT_FLOAT)
 
 #include "arm/aout.h"
 
@@ -67,6 +67,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef CPP_APCS_PC_DEFAULT_SPEC
 #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
 
+/* Because TARGET_DEFAULT sets ARM_FLAG_SOFT_FLOAT */
+#undef CPP_FLOAT_DEFAULT_SPEC
+#define CPP_FLOAT_DEFAULT_SPEC "-D__SOFTFP__"
+
 /* Pass -X to the linker so that it will strip symbols starting with 'L' */
 #undef LINK_SPEC
 #define LINK_SPEC "\