diff options
author | Tom Wood <wood@gnu.org> | 1992-10-15 12:09:23 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-10-15 12:09:23 +0000 |
commit | 76d4178822494f1aa5eeecf33f77a4f6873f1ce8 (patch) | |
tree | afda44aeee44f8eda73b5721992d53a5c72d392d | |
parent | bf1fec41b9926d4c276011dcc8809b1ceff2d1ba (diff) | |
download | gcc-76d4178822494f1aa5eeecf33f77a4f6873f1ce8.zip gcc-76d4178822494f1aa5eeecf33f77a4f6873f1ce8.tar.gz gcc-76d4178822494f1aa5eeecf33f77a4f6873f1ce8.tar.bz2 |
(CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,
similarly for -m88100.
From-SVN: r2475
-rw-r--r-- | gcc/config/m88k/dgux.h | 12 | ||||
-rw-r--r-- | gcc/config/m88k/m88k.h | 10 |
2 files changed, 16 insertions, 6 deletions
diff --git a/gcc/config/m88k/dgux.h b/gcc/config/m88k/dgux.h index 2868a04..592d862 100644 --- a/gcc/config/m88k/dgux.h +++ b/gcc/config/m88k/dgux.h @@ -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}\ diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 25c7438..8b3e36c 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -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. */ |