2001-12-19 Nick Clifton <nickc@cambridge.redhat.com>
+ * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Pass
+ -mno-fpu onto gas unless -mhard-float is specified.
+ (MULTILIB_DEFAULTS): Include msoft-float.
+
* config/arm/t-xscale-coff (EXTRA_MULTILIB_PARTS): Remove definition.
* config/arm/coff.h (SUPPORTS_INIT_PRIORITY): Define (to false).
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale
#endif
-#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale}"
+#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale} %{!mhard-float:-mno-fpu}"
#ifndef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \
- { "mlittle-endian", "mno-thumb-interwork", "marm" }
+ { "mlittle-endian", "mno-thumb-interwork", "marm", "msoft-float" }
#endif