]>
gcc.gnu.org Git - gcc.git/blob - gcc/config/mips/iris5.h
1 /* Definitions of target machine for GNU compiler. Iris version 5.
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 #define TARGET_DEFAULT MASK_ABICALLS
21 #define ABICALLS_ASM_OP ".option pic2"
23 #define OBJECT_FORMAT_ELF
25 #include "mips/iris4.h"
27 /* Specify size_t, ptrdiff_t, and wchar_t types. */
31 #undef WCHAR_TYPE_SIZE
33 #define SIZE_TYPE "unsigned int"
34 #define PTRDIFF_TYPE "int"
35 #define WCHAR_TYPE "long int"
36 #define WCHAR_TYPE_SIZE LONG_TYPE_SIZE
38 /* ??? _MIPS_SIM and _MIPS_SZPTR should eventually depend on options when
39 options for them exist. */
42 #define CPP_PREDEFINES \
43 "-Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -DSYSTYPE_SVR4 \
44 -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ \
45 -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 \
46 -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi)"
50 %{!ansi:-D__EXTENSIONS__ -D_SGI_SOURCE -D_LONGLONG} \
51 %{.S: -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
52 %{.cc: -D_LANGUAGE_C_PLUS_PLUS} \
53 %{.cxx: -D_LANGUAGE_C_PLUS_PLUS} \
54 %{.C: -D_LANGUAGE_C_PLUS_PLUS} \
55 %{.m: -D_LANGUAGE_OBJECTIVE_C} \
56 %{!.S: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}\
57 %{!mfp64: -D_MIPS_FPSET=16}%{mfp64: -D_MIPS_FPSET=32} \
58 %{mips1: -D_MIPS_ISA=_MIPS_ISA_MIPS1} \
59 %{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \
60 %{mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \
61 %{!mips1: %{!mips2: %{!mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS1}}} \
62 %{!mint64: -D_MIPS_SZINT=32}%{mint64: -D_MIPS_SZINT=64} \
63 %{!mlong64: -D_MIPS_SZLONG=32}%{mlong64: -D_MIPS_SZLONG=64}"
69 %{mips1} %{mips2} %{mips3} %{bestGnum} \
70 %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \
71 %{!shared: %{!non_shared: %{!call_shared: -call_shared}}} \
75 #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s"
77 /* We do not want to run mips-tfile! */
80 #undef OBJECT_FORMAT_COFF
83 #define MACHINE_TYPE "SGI running IRIX 5.0"
This page took 0.037882 seconds and 5 git commands to generate.