head	1.15;
access;
symbols
	gcc-2_8_1-990325:1.15
	gcc-2_8_1-990319:1.15
	gcc-2_8_1-990302:1.15
	gcc_2_8_1-990302:1.15
	gcc_2_8_1-990222:1.15
	gcc-2_8_1-990109:1.15
	gcc-2_8_1-981210:1.15
	gcc-2_8_1-981208:1.15
	gcc-2_8_1-980929:1.15
	gcc_2_8_1-980929:1.15
	gcc-2_8_1-980928:1.15
	gcc-2_8_1-980813:1.15
	gcc-2_8_1-980811:1.15
	gcc-2_8_1-980718:1.15
	gcc-2_8_1-980705:1.15
	gcc-2_8_1-980627:1.15
	gcc-2_8_1-980609:1.15
	gcc-2_8_1-980608:1.15
	gcc-2_8_1-980529:1.15
	gcc-2_8_1-980525:1.15
	gcc-2_8_1-980513:1.15
	gcc-2_8_1-980502:1.15
	gcc-2_8_1-980426:1.15
	gcc-2_8_1-980419:1.15
	gcc-2_8_1-980413:1.15
	gcc-2_8_1-980412:1.15
	gcc-2_8_1-980407:1.15
	gcc-2_8_1-980401:1.15
	gcc_2_8_1-980315:1.15
	gcc-2_8_1-RELEASE:1.14;
locks; strict;
comment	@ * @;


1.15
date	98.03.13.12.10.29;	author kenner;	state Exp;
branches;
next	1.14;

1.14
date	95.06.15.19.27.12;	author kenner;	state Exp;
branches;
next	1.13;

1.13
date	94.05.04.18.20.59;	author wilson;	state Exp;
branches;
next	1.12;

1.12
date	94.03.08.01.43.56;	author wilson;	state Exp;
branches;
next	1.11;

1.11
date	93.10.02.08.46.12;	author dje;	state Exp;
branches;
next	1.10;

1.10
date	93.07.21.21.37.14;	author wilson;	state Exp;
branches;
next	1.9;

1.9
date	93.05.31.22.20.12;	author rms;	state Exp;
branches;
next	1.8;

1.8
date	93.01.05.20.06.50;	author meissner;	state Exp;
branches;
next	1.7;

1.7
date	92.10.01.21.25.34;	author meissner;	state Exp;
branches;
next	1.6;

1.6
date	92.08.26.21.21.55;	author meissner;	state Exp;
branches;
next	1.5;

1.5
date	92.03.28.22.40.26;	author rms;	state Exp;
branches;
next	1.4;

1.4
date	92.03.21.16.32.39;	author meissner;	state Exp;
branches;
next	1.3;

1.3
date	92.03.17.02.09.56;	author meissner;	state Exp;
branches;
next	1.2;

1.2
date	92.02.11.23.10.52;	author meissner;	state Exp;
branches;
next	1.1;

1.1
date	91.12.01.05.02.56;	author meissner;	state Exp;
branches;
next	;


desc
@/* Definitions of target machine for GNU compiler.  MIPS RISC-OS BSD version.
@


1.15
log
@No longer include mips.h.
@
text
@/* Definitions of target machine for GNU compiler.  MIPS RISC-OS BSD version.
   Copyright (C) 1991 Free Software Foundation, Inc.

This file is part of GNU CC.

GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING.  If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */

#define MIPS_BSD43

#define CPP_PREDEFINES "\
-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43 \
-D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_BSD43 \
-Asystem(unix) -Asystem(bsd) -Acpu(mips) -Amachine(mips)"

#define STANDARD_INCLUDE_DIR "/bsd43/usr/include"

#define LINK_SPEC "\
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
%{bestGnum} %{shared} %{non_shared} \
-systype /bsd43/"
		    
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"

#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt1.o%s crtn.o%s}}"

#define MACHINE_TYPE "RISC-OS BSD Mips"

/* Generate calls to memcpy, etc., not bcopy, etc.  */
#define TARGET_MEM_FUNCTIONS

/* Override defaults for finding the MIPS tools.  */
#define MD_STARTFILE_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
#define MD_EXEC_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
@


1.14
log
@Change FSF address.
@
text
@a46 2

#include "mips/mips.h"
@


1.13
log
@(CPP_SPEC): Delete.
@
text
@d18 2
a19 1
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
@


1.12
log
@(LINK_SPEC): Do not depend on gas.  Don't interpret -EB
and -EL options, but do pass them.
@
text
@a28 9
#define CPP_SPEC "\
%{.cc:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
%{.cxx:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
%{.C:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
%{.m:	-D__LANGUAGE_OBJECTIVE_C -D_LANGUAGE_OBJECTIVE_C} \
%{.S:	-D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
%{.s:	-D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
%{!.S:%{!.s:	-D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"

@


1.11
log
@(CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
@
text
@d39 3
a41 7
%{G*} \
%{!mgas: \
	%{EB} %{!EB: -EB} \
	%{EL: %e-EL not supported} \
	%{bestGnum} %{shared} %{non_shared} \
	%{mips1} %{mips2} %{mips3} \
	-systype /bsd43/ }"
@


1.10
log
@(CPP_SPEC): Define LANGUAGE_ASSEMBLY, not
LANGUAGE_C, when compiling a .s file.
@
text
@d22 4
a25 2
#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43 \
-D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_BSD43"
@


1.9
log
@(STANDARD_INCLUDE_DIR): Renamed from SYSTEM_INCLUDE_DIR.
@
text
@d33 2
a34 1
%{!.S:	-D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
@


1.8
log
@Move MIPS files into config/mips.
@
text
@d25 1
a25 1
#define SYSTEM_INCLUDE_DIR "/bsd43/usr/include"
@


1.7
log
@RISC-OS 5.0 changes.
@
text
@d57 1
a57 1
#include "mips.h"
@


1.6
log
@Pass -shared/-non_shared to MIPS 3.0 linker if passed.
@
text
@d22 2
a23 1
#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43"
@


1.5
log
@entered into RCS
@
text
@d39 1
a39 1
	%{bestGnum} \
@


1.4
log
@*** empty log message ***
@
text
@d52 4
@


1.3
log
@*** empty log message ***
@
text
@d22 1
a22 1
#define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000"
d24 2
a26 6
%{!ansi:	%{!ZSYSV: -DSYSTYPE_BSD43} \
		%{ZSYSV:  -DSYSTYPE_SYSV}} \
%{!ZSYSV: -D__SYSTYPE_BSD43__} \
%{ZSYSV:  -D__SYSTYPE_SYSV__} \
%{!nostdinc:	%{!ZSYSV: -I/bsd43/usr/include} \
		%{ZSYSV:  -I/sysv/usr/include}} \
d40 2
a41 2
	%{!ZSYSV: -systype /bsd43/} \
	%{ZSYSV:  -systype /sysv/}}"
@


1.2
log
@*** empty log message ***
@
text
@d24 13
a36 24
#define CPP_SPEC	"%{!ansi:	%{!ZSYSV: -DSYSTYPE_BSD43}	\
					%{ZSYSV:  -DSYSTYPE_SYSV}}	\
			 %{!ZSYSV: -D__SYSTYPE_BSD43__}			\
			 %{ZSYSV:  -D__SYSTYPE_SYSV__}			\
			 %{!nostdinc:	%{!ZSYSV: -I/bsd43/usr/include}	\
					%{ZSYSV:  -I/sysv/usr/include}}	\
			 %{.S:	-D__LANGUAGE_ASSEMBLY__			\
				-D_LANGUAGE_ASSEMBLY			\
				%{!ansi:-DLANGUAGE_ASSEMBLY}}		\
			 %{.cc:	-D__LANGUAGE_C_PLUS_PLUS__		\
				-D_LANGUAGE_C_PLUS_PLUS			\
				%{!ansi:-DLANGUAGE_C_PLUS_PLUS}}	\
			 %{.cxx:-D__LANGUAGE_C_PLUS_PLUS__		\
				-D_LANGUAGE_C_PLUS_PLUS			\
				%{!ansi:-DLANGUAGE_C_PLUS_PLUS}}	\
			 %{.C:	-D__LANGUAGE_C_PLUS_PLUS__		\
				-D_LANGUAGE_C_PLUS_PLUS			\
				%{!ansi:-DLANGUAGE_C_PLUS_PLUS}}	\
			 %{.m:	-D__LANGUAGE_OBJECTIVE_C__		\
				-D_LANGUAGE_OBJECTIVE_C			\
				%{!ansi:-DLANGUAGE_OBJECTIVE_C}}	\
			 %{!.S: -D__LANGUAGE_C__			\
				-D_LANGUAGE_C				\
				%{!ansi:-DLANGUAGE_C}}"
d38 8
a45 7
#define LINK_SPEC	"%{G*}						\
			 %{!mgas:					\
				%{EB} %{!EB: -EB}			\
				%{EL: %e-EL not supported}		\
				%{bestGnum}				\
				%{!ZSYSV: -systype /bsd43/}		\
				%{ZSYSV:  -systype /sysv/}}"
d52 3
@


1.1
log
@Initial revision
@
text
@d32 14
a45 2
				%{!ansi: -DLANGUAGE_ASSEMBLY}}		\
			 %{!.S:	-D__LANGUAGE_C__			\
@
