Import final gcc2 snapshot (990109)
[official-gcc.git] / gcc / config / mips / ultrix.h
blobd6da6a841a90ff92640cbc4dd564658cca0272a9
1 /* Definitions of target machine for GNU compiler; DECstation (Ultrix) version.
2 Copyright (C) 1991, 1997, 1998 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)
9 any later version.
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, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #define DECSTATION
23 #ifndef CPP_PREDEFINES
24 #define CPP_PREDEFINES "\
25 -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD \
26 -Dbsd4_2 -Dhost_mips -Dmips -Dultrix -Dunix \
27 -Asystem(unix) -Asystem(bsd) -Acpu(mips) -Amachine(mips)"
28 #endif
30 #ifndef LIB_SPEC
31 #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"
32 #endif
34 #define SUBTARGET_CPP_SPEC "\
35 %{.cc: -D__LANGUAGE_C -D_LANGUAGE_C} \
36 %{.cxx: -D__LANGUAGE_C -D_LANGUAGE_C} \
37 %{.C: -D__LANGUAGE_C -D_LANGUAGE_C} \
40 #ifndef STARTFILE_SPEC
41 #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
42 #endif
44 #ifndef MACHINE_TYPE
45 #define MACHINE_TYPE "DECstation running ultrix"
46 #endif
48 /* Use atexit for static constructors/destructors, instead of defining
49 our own exit function. Ultrix 4.x has this, 3.x probably does not. */
50 #define HAVE_ATEXIT
52 /* Generate calls to memcpy, etc., not bcopy, etc. */
53 #define TARGET_MEM_FUNCTIONS
55 /* Work around assembler forward label references generated in exception
56 handling code. */
57 #define DWARF2_UNWIND_INFO 0
59 /* INITIALIZE_TRAMPOLINE calls this library function to flush
60 program and data caches. */
61 #define CACHE_FLUSH_FUNC "cacheflush"