OSDN Git Service

2010-05-08 Richard Sandiford <rdsandiford@googlemail.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / mips.h
index 891ea1f..dcac46b 100644 (file)
@@ -536,7 +536,9 @@ enum mips_code_readable_setting {
                                                                        \
       /* These defines reflect the ABI in use, not whether the         \
         FPU is directly accessible.  */                                \
-      if (TARGET_HARD_FLOAT_ABI)                                       \
+      if (TARGET_NO_FLOAT)                                             \
+       builtin_define ("__mips_no_float");                             \
+      else if (TARGET_HARD_FLOAT_ABI)                                  \
        builtin_define ("__mips_hard_float");                           \
       else                                                             \
        builtin_define ("__mips_soft_float");                           \