OSDN Git Service

Fix -membedded-data bug found by mips16 port.
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / ultrix.h
1 /* Definitions of target machine for GNU compiler.  DECstation (ultrix) version.
2    Copyright (C) 1991 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
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.
10
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.
15
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.  */
20
21 #define DECSTATION
22
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
29
30 #ifndef LIB_SPEC
31 #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"
32 #endif
33
34 #ifndef STARTFILE_SPEC
35 #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
36 #endif
37
38 #ifndef MACHINE_TYPE
39 #define MACHINE_TYPE "DECstation running ultrix"
40 #endif
41
42 /* Use atexit for static constructors/destructors, instead of defining
43    our own exit function.  Ultrix 4.x has this, 3.x probably does not.  */
44 #define HAVE_ATEXIT
45
46 /* Generate calls to memcpy, etc., not bcopy, etc.  */
47 #define TARGET_MEM_FUNCTIONS
48
49 #include "mips/mips.h"