aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/rtems-elf.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9064d84..3a8ef09 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC):
+ Let !-mhard-float !-msoft-float imply -mfpu=softfpa.
+
2005-02-06 Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/19800
diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h
index a736ee1..adad59a 100644
--- a/gcc/config/arm/rtems-elf.h
+++ b/gcc/config/arm/rtems-elf.h
@@ -29,3 +29,11 @@
builtin_define ("__rtems__"); \
builtin_assert ("system=rtems"); \
} while (0)
+
+/*
+ * The default in gcc now is soft-float, but gcc misses it to
+ * pass it to the assembler.
+ */
+#undef SUBTARGET_EXTRA_ASM_SPEC
+#define SUBTARGET_EXTRA_ASM_SPEC "\
+ %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"