Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / gcc / config / i386 / iscdbx.h
1 /* Definitions for Intel 386 running Interactive Unix System V,
2    using dbx-in-coff encapsulation.
3    Specifically, this is for recent versions that support POSIX.
4    Copyright (C) 1992, 1995 Free Software Foundation, Inc.
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23 /* Mostly it's like AT&T Unix System V with dbx-in-coff. */
24
25 #include "i386/svr3dbx.h"
26
27 /* But with a few changes.  */
28 #undef ENDFILE_SPEC
29 #include "i386/isc.h"
30
31 /* Overridden defines for ifile usage. */
32
33 #undef STARTFILE_SPEC
34 #define STARTFILE_SPEC \
35   "%{!r:%{!z:svr3.ifile%s}%{z:svr3z.ifile%s}}\
36    %{!shlib:%{posix:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}}\
37    %{Xp:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}}\
38    %{!posix:%{!Xp:%{pg:mcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}}\
39    %{p:-L/usr/lib/libp} %{pg:-L/usr/lib/libp}}\
40    %{shlib:%{posix:crtp1.o%s}%{Xp:crtp1.o%s}%{!posix:%{!Xp:crt1.o%s}}}"
41   
42 #undef ENDFILE_SPEC
43 #define ENDFILE_SPEC "crtn.o%s"