iris5.h revision 302408
1251538Srpaulo/* Definitions of target machine for GNU compiler.  IRIX version 5.
2251538Srpaulo   Copyright (C) 1993, 1995, 1996, 1998, 2000,
3251538Srpaulo   2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4251538Srpaulo
5264912SkevloThis file is part of GCC.
6251538Srpaulo
7251538SrpauloGCC is free software; you can redistribute it and/or modify
8251538Srpauloit under the terms of the GNU General Public License as published by
9251538Srpaulothe Free Software Foundation; either version 2, or (at your option)
10251538Srpauloany later version.
11251538Srpaulo
12251538SrpauloGCC is distributed in the hope that it will be useful,
13251538Srpaulobut WITHOUT ANY WARRANTY; without even the implied warranty of
14251538SrpauloMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15251538SrpauloGNU General Public License for more details.
16251538Srpaulo
17251538SrpauloYou should have received a copy of the GNU General Public License
18251538Srpauloalong with GCC; see the file COPYING.  If not, write to
19251538Srpaulothe Free Software Foundation, 51 Franklin Street, Fifth Floor,
20251538SrpauloBoston, MA 02110-1301, USA.  */
21251538Srpaulo
22251538Srpaulo#ifdef IRIX_USING_GNU_LD
23251538Srpaulo#define IRIX_SUBTARGET_LINK_SPEC "-melf32bsmip"
24264912Skevlo#else
25251538Srpaulo#define IRIX_SUBTARGET_LINK_SPEC "-_SYSTYPE_SVR4"
26251538Srpaulo#endif
27251538Srpaulo
28251538Srpaulo#undef STARTFILE_SPEC
29251538Srpaulo#define STARTFILE_SPEC "\
30251538Srpaulo%{!static: \
31251538Srpaulo  %{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \
32251538Srpaulo%{static: \
33251538Srpaulo  %{pg:gcrt1.o%s} \
34251538Srpaulo  %{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \
35251538Srpaulo  %{!p:/usr/lib/nonshared/crt1.o%s}}} \
36251538Srpauloirix-crti.o%s crtbegin.o%s"
37251538Srpaulo
38251538Srpaulo#undef LIB_SPEC
39251538Srpaulo#define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
40251538Srpaulo
41251538Srpaulo#undef ENDFILE_SPEC
42251538Srpaulo#define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"
43251538Srpaulo
44251538Srpaulo#undef MACHINE_TYPE
45251538Srpaulo#define MACHINE_TYPE "SGI running IRIX 5.x"
46251538Srpaulo