arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assemble...
authorNick Clifton <nickc@cambridge.redhat.com>
Mon, 20 May 2002 17:07:04 +0000 (17:07 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 20 May 2002 17:07:04 +0000 (17:07 +0000)
    * 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.

From-SVN: r53667

gcc/ChangeLog
gcc/config/arm/arm-wince-pe.h
gcc/config/arm/elf.h
gcc/config/arm/semi.h
gcc/config/arm/unknown-elf-oabi.h
gcc/config/arm/xscale-coff.h
gcc/config/arm/xscale-elf.h

index 70e76fce638a0f60d12b7ca4ebd3f1d831e8f988..2a2afdf70c8425b3df22b78f392f87f44877f596 100644 (file)
@@ -1,3 +1,14 @@
+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
index e43ea99631953d37604d3f17298159d39a4f4da2..511a40d5acec5ca055a88a65f8917cb7859e99a4 100644 (file)
@@ -51,8 +51,8 @@ Boston, MA 02111-1307, USA.  */
 #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}}    \
index 1cab2c4e144fb2cf3ac4b5155484b150dfba49cb..003ab2c8a4f8991c448b8c49a5823186a4c8ba16 100644 (file)
@@ -46,8 +46,8 @@ Boston, MA 02111-1307, USA.  */
 #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} \
index 54ea0e8b03715315c28c972b700a9e4bfd0e8259..2e1abd40d24a21145a280da9d3593a9f071b50c3 100644 (file)
@@ -61,8 +61,8 @@ Boston, MA 02111-1307, USA.  */
 #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} \
index 8322508a232b1cd08d0922930b51017cab8b634b..91f18c0b802c811787332e3616e9d49354890488 100644 (file)
@@ -24,6 +24,6 @@ Boston, MA 02111-1307, USA.  */
 #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}"
 
index 51fe6932e6d7d6dd38e7bed7db3f94b13f6e86c3..d8fee7de3d859f010ec82fda353d1a01a6d39aee 100644 (file)
@@ -24,7 +24,7 @@
 #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 \
index b1ce04e103e2c12185708254f787c66eb3de05f0..8ea35885b6d159878a9acc5815b6719660cdbc0b 100644 (file)
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA.  */
 #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 \