(CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,
authorTom Wood <wood@gnu.org>
Thu, 15 Oct 1992 12:09:23 +0000 (12:09 +0000)
committerTom Wood <wood@gnu.org>
Thu, 15 Oct 1992 12:09:23 +0000 (12:09 +0000)
similarly for -m88100.

From-SVN: r2475

gcc/config/m88k/dgux.h
gcc/config/m88k/m88k.h

index 2868a04d8f8306a5741d1298a605d4475c8e237e..592d8628417584127b1032d23c530dd49ed3525e 100644 (file)
@@ -70,17 +70,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define CPP_PREDEFINES "-Dm88000 -Dm88k -Dunix -DDGUX -D__CLASSIFY_TYPE__=2\
    -D__svr4__ -Asystem(unix) -Acpu(m88k) -Amachine(m88k)"
 
-/* If not -ansi, -traditional, or restricting include files to one
-   specific source target, specify full DG/UX features.  */
+/* If -m88100 is in effect, add -Dm88100; similarly for -m88110.
+   Here, the CPU_DEFAULT is assumed to be -m88000.  If not -ansi,
+   -traditional, or restricting include files to one specific source
+   target, specify full DG/UX features.  */
 #undef CPP_SPEC
-#define        CPP_SPEC "%{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}}"
+#define        CPP_SPEC "%{!m88000:%{!m88100:%{m88110:-D__m88110__}}} \
+                 %{!m88000:%{!m88110:%{m88100:-D__m88100__}}} \
+                 %{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}}"
 
 /* Assembler support (-V, silicon filter, legends for mxdb).  */
 #undef ASM_SPEC
 #define ASM_SPEC "\
 %{V} %{v:%{!V:-V}} %{pipe: - %{msvr4:%{mversion-03.00:-KV3}}}\
 %{!mlegend:%{mstandard:-Wc,off}}\
-%{mlegend:-Wc,-fix-bb,-h\"gcc-2.2.12\",-s\"%i\"\
+%{mlegend:-Wc,-fix-bb,-h\"gcc-2.2.13\",-s\"%i\"\
 %{traditional:,-lc}%{!traditional:,-lansi-c}\
 %{mstandard:,-keep-std}\
 %{mkeep-coff:,-keep-coff}\
index 25c7438a4a00c56154b68d4693900a581927816f..8b3e36cbc3f6ad3f5aba338ed43b644318c51443 100644 (file)
@@ -191,6 +191,12 @@ extern char * reg_names[];
       }                                                        \
   } while (0)
 
+/* If -m88100 is in effect, add -D__m88100__; similarly for -m88110.
+   Here, the CPU_DEFAULT is assumed to be -m88100.  */
+#undef CPP_SPEC
+#define        CPP_SPEC "%{!m88000:%{!m88100:%{m88110:-D__m88110__}}} \
+                 %{!m88000:%{!m88110:-D__m88100__}}"
+
 /* LIB_SPEC, LINK_SPEC, and STARTFILE_SPEC defined in svr3.h.
    ASM_SPEC, ASM_FINAL_SPEC, LIB_SPEC, LINK_SPEC, and STARTFILE_SPEC redefined
    in svr4.h.
@@ -209,9 +215,9 @@ extern char * reg_names[];
 /* Print subsidiary information on the compiler version in use.
    Redefined in m88kv4.h, and m88kluna.h.  */
 #define VERSION_INFO1  "88open OCS/BCS, "
-#define VERSION_INFO2  "10/07/92"
+#define VERSION_INFO2  "10/15/92"
 #define VERSION_STRING version_string
-#define        TM_SCCS_ID      "@(#)m88k.h     2.2.13.1 10/07/92 06:31:59"
+#define        TM_SCCS_ID      "@(#)m88k.h     2.2.13.2 10/15/92 08:00:51"
 
 /* Run-time compilation parameters selecting different hardware subsets.  */