From 4ec1eeda1f68eb1d339db4d434cdf87ea5e3b94b Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Thu, 13 Aug 1998 18:29:32 -0600 Subject: [PATCH] netbsd.h (TARGET_DEFAULT): Default includes software floating point. X * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating point. (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly. From-SVN: r21715 --- gcc/config/arm/netbsd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/config/arm/netbsd.h b/gcc/config/arm/netbsd.h index 2ff09a8..374d5bf 100644 --- a/gcc/config/arm/netbsd.h +++ b/gcc/config/arm/netbsd.h @@ -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 "\ -- 2.7.4