+2002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
+ switches straight on to the assembler, do not abbreviate them.
+ * config/arm/elf.h (ASM_SPEC): As above.
+ * config/arm/semi.h (ASM_SPEC): As above.
+ * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
+ * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
+ -mcpu=xscale on to the assembler by default.
+ * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
+
2002-05-20 Richard Henderson <rth@redhat.com>
* cse.c (canon_hash): Reorder do_not_record test. Always
#undef ASM_SPEC
#define ASM_SPEC " \
%{mbig-endian:-EB} \
-%{mcpu=*:-m%*} \
-%{march=*:-m%*} \
+%{mcpu=*:-mcpu=%*} \
+%{march=*:-march=%*} \
%{mapcs-*:-mapcs-%*} \
%{mthumb-interwork:-mthumb-interwork} \
%{!mapcs-32:%{!mapcs-26:-mapcs-32}} \
#ifndef ASM_SPEC
#define ASM_SPEC "\
%{mbig-endian:-EB} \
-%{mcpu=*:-m%*} \
-%{march=*:-m%*} \
+%{mcpu=*:-mcpu=%*} \
+%{march=*:-march=%*} \
%{mapcs-*:-mapcs-%*} \
%{mapcs-float:-mfloat} \
%{msoft-float:-mno-fpu} \
#define ASM_SPEC "\
%{fpic: -k} %{fPIC: -k} \
%{mbig-endian:-EB} \
-%{mcpu=*:-m%*} \
-%{march=*:-m%*} \
+%{mcpu=*:-mcpu=%*} \
+%{march=*:-march=%*} \
%{mapcs-float:-mfloat} \
%{msoft-float:-mno-fpu} \
%{mthumb-interwork:-mthumb-interwork} \
#define TARGET_VERSION fputs (" (ARM/ELF non-Linux old abi)", stderr);
#undef ASM_SPEC
-#define ASM_SPEC "-moabi %{mbig-endian:-EB} %{mcpu=*:-m%*} %{march=*:-m%*} \
+#define ASM_SPEC "-moabi %{mbig-endian:-EB} %{mcpu=*:-mcpu=%*} %{march=*:-march=%*} \
%{mapcs-*:-mapcs-%*} %{mthumb-interwork:-mthumb-interwork}"
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale
#undef SUBTARGET_EXTRA_ASM_SPEC
-#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale}"
+#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale}"
#undef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale
#endif
-#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale} %{!mhard-float:-mno-fpu}"
+#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} %{!mhard-float:-mno-fpu}"
#ifndef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \