0
|
1 /* Definitions of target machine for GNU compiler. IRIX version 5.
|
|
2 Copyright (C) 1993, 1995, 1996, 1998, 2000,
|
|
3 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
|
|
4
|
|
5 This file is part of GCC.
|
|
6
|
|
7 GCC is free software; you can redistribute it and/or modify
|
|
8 it under the terms of the GNU General Public License as published by
|
|
9 the Free Software Foundation; either version 3, or (at your option)
|
|
10 any later version.
|
|
11
|
|
12 GCC is distributed in the hope that it will be useful,
|
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 GNU General Public License for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with GCC; see the file COPYING3. If not see
|
|
19 <http://www.gnu.org/licenses/>. */
|
|
20
|
|
21 #ifdef IRIX_USING_GNU_LD
|
|
22 #define IRIX_SUBTARGET_LINK_SPEC "-melf32bsmip"
|
|
23 #else
|
|
24 #define IRIX_SUBTARGET_LINK_SPEC "-_SYSTYPE_SVR4"
|
|
25 #endif
|
|
26
|
|
27 #undef STARTFILE_SPEC
|
|
28 #define STARTFILE_SPEC "\
|
|
29 %{!static: \
|
|
30 %{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \
|
|
31 %{static: \
|
|
32 %{pg:gcrt1.o%s} \
|
|
33 %{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \
|
|
34 %{!p:/usr/lib/nonshared/crt1.o%s}}} \
|
|
35 irix-crti.o%s crtbegin.o%s"
|
|
36
|
|
37 #undef LIB_SPEC
|
|
38 #define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
|
|
39
|
|
40 #undef ENDFILE_SPEC
|
|
41 #define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"
|
|
42
|
|
43 #undef MACHINE_TYPE
|
|
44 #define MACHINE_TYPE "SGI running IRIX 5.x"
|