(CPP_SPEC): Delete.
authorRichard Earnshaw <erich@gnu.org>
Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)
committerRichard Earnshaw <erich@gnu.org>
Thu, 8 May 1997 22:17:34 +0000 (22:17 +0000)
(PROCESSOR_DEFAULT): Delete.
(CPP_APCS_PC_DEFAULT_SPEC): Define.

From-SVN: r14050

gcc/config/arm/semi.h

index 1540bbf09521f22f12847757e1a56301a8d67ccd..346c61329b88d596ecc6686b05a1577d46b245c0 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler.  ARM on semi-hosted platform
-   Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
    Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
 
 This file is part of GNU CC.
@@ -26,20 +26,6 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES \
     "-Darm -D__semi__ -Acpu(arm) -Amachine(arm)"
 
-#define CPP_SPEC "%{m6:-D__arm6__} \
-%{mcpu-*:-D__%*} \
-%{mcpu=*:-D__%*} \
-%{mapcs-32:-D__APCS_32__ -U__APCS_26__} \
-%{mapcs-26:-D__APCS_26__ -U__APCS_32__} \
-%{!mapcs-32: %{!mapcs-26:-D__APCS_32__}} \
-%{msoft-float:-D__SOFTFP__} \
-%{mhard-float:-U__SOFTFP__} \
-%{!mhard-float: %{!msoft-float:-U__SOFTFP__}} \
-%{mbig-endian:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
-%{mbe:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
-%{!mbe: %{!mbig-endian:-D__ARMEL__}} \
-"
-
 #define ASM_SPEC "%{mbig-endian:-EB}"
 
 #define LINK_SPEC "%{mbig-endian:-EB} -X"
@@ -48,8 +34,7 @@ Boston, MA 02111-1307, USA.  */
 
 #define TARGET_DEFAULT ARM_FLAG_APCS_32
 
-#ifndef PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_ARM6
-#endif
-
 #include "arm/aout.h"
+
+#undef CPP_APCS_PC_DEFAULT_SPEC
+#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"