aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1994-08-12 17:43:12 +0000
committerStan Cox <coxs@gnu.org>1994-08-12 17:43:12 +0000
commit04c9e540c7fc6530d41051a2997558c2c6972586 (patch)
treea4b41600445f679915e107c44c887815bb950f48 /gcc
parent28051ef589906cb6c6f1ad41b756a9295a37781b (diff)
downloadgcc-04c9e540c7fc6530d41051a2997558c2c6972586.zip
gcc-04c9e540c7fc6530d41051a2997558c2c6972586.tar.gz
gcc-04c9e540c7fc6530d41051a2997558c2c6972586.tar.bz2
Made -pipe work for -msvr4. Added -D*_TARGET definitions.
From-SVN: r7903
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m88k/dgux.h7
-rw-r--r--gcc/config/m88k/dguxbcs.h12
2 files changed, 15 insertions, 4 deletions
diff --git a/gcc/config/m88k/dgux.h b/gcc/config/m88k/dgux.h
index 69db461..9765cbe 100644
--- a/gcc/config/m88k/dgux.h
+++ b/gcc/config/m88k/dgux.h
@@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
(TARGET_SVR4 ? DWARF_DEBUG : SDB_DEBUG)
#ifndef VERSION_INFO2
-#define VERSION_INFO2 "$Revision: 1.13 $"
+#define VERSION_INFO2 "$Revision: 1.14 $"
#endif
#ifndef NO_BUGS
#define AS_BUG_IMMEDIATE_LABEL
@@ -85,13 +85,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef CPP_SPEC
#define CPP_SPEC "%{!m88000:%{!m88100:%{m88110:-D__m88110__}}} \
%{!m88000:%{!m88110:%{m88100:-D__m88100__}}} \
- %{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}}"
+ %{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}} \
+ %{msvr3:-D_M88KBCS_TARGET} %{!msvr3:-D_DGUX_TARGET}"
/* Assembler support (-V, silicon filter, legends for mxdb). */
#undef ASM_SPEC
#define ASM_SPEC "\
%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
-%{!msvr3:%{mversion-03.00:-KV3}%{!mversion-03.00:%{mversion-*:-KV%*}}}}\
+%{!msvr3:%{!m88110:-KV3 }%{m88110:-KV04.00 }}}\
%{!mlegend:%{mstandard:-Wc,off}}\
%{mlegend:-Wc,-fix-bb,-h\"gcc-" VERSION_INFO2 "\",-s\"%i\"\
%{traditional:,-lc}%{!traditional:,-lansi-c}\
diff --git a/gcc/config/m88k/dguxbcs.h b/gcc/config/m88k/dguxbcs.h
index acba809..57203b5 100644
--- a/gcc/config/m88k/dguxbcs.h
+++ b/gcc/config/m88k/dguxbcs.h
@@ -39,7 +39,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_SPEC
#define ASM_SPEC "\
%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
-%{msvr4:%{mversion-03.00:-KV3}%{!mversion-03.00:%{mversion-*:-KV%*}}}}\
+%{msvr4:%{!m88110:-KV3 }%{m88110:-KV04.00 }}}\
%{!mlegend:%{mstandard:-Wc,off}}\
%{mlegend:-Wc,-fix-bb,-h\"gcc-" VERSION_INFO2 "\",-s\"%i\"\
%{traditional:,-lc}%{!traditional:,-lansi-c}\
@@ -48,6 +48,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{mexternal-legend:,-external}\
%{mocs-frame-position:,-ocs}}"
+/* 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 "%{!m88000:%{!m88100:%{m88110:-D__m88110__}}} \
+ %{!m88000:%{!m88110:%{m88100:-D__m88100__}}} \
+ %{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}} \
+ %{!msvr4:-D_M88KBCS_TARGET} %{msvr4:-D_DGUX_TARGET}"
+
/* Linker and library spec's.
-msvr3 is the default if -msvr4 is not specified. */
#undef LIB_SPEC