1169689Skan/* Definitions of target machine for GNU compiler. IRIX version 5. 2169689Skan Copyright (C) 1993, 1995, 1996, 1998, 2000, 3169689Skan 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 4169689Skan 5169689SkanThis file is part of GCC. 6169689Skan 7169689SkanGCC is free software; you can redistribute it and/or modify 8169689Skanit under the terms of the GNU General Public License as published by 9169689Skanthe Free Software Foundation; either version 2, or (at your option) 10169689Skanany later version. 11169689Skan 12169689SkanGCC is distributed in the hope that it will be useful, 13169689Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of 14169689SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15169689SkanGNU General Public License for more details. 16169689Skan 17169689SkanYou should have received a copy of the GNU General Public License 18169689Skanalong with GCC; see the file COPYING. If not, write to 19169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 20169689SkanBoston, MA 02110-1301, USA. */ 21169689Skan 22169689Skan#ifdef IRIX_USING_GNU_LD 23169689Skan#define IRIX_SUBTARGET_LINK_SPEC "-melf32bsmip" 24169689Skan#else 25169689Skan#define IRIX_SUBTARGET_LINK_SPEC "-_SYSTYPE_SVR4" 26169689Skan#endif 27169689Skan 28169689Skan#undef STARTFILE_SPEC 29169689Skan#define STARTFILE_SPEC "\ 30169689Skan%{!static: \ 31169689Skan %{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \ 32169689Skan%{static: \ 33169689Skan %{pg:gcrt1.o%s} \ 34169689Skan %{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \ 35169689Skan %{!p:/usr/lib/nonshared/crt1.o%s}}} \ 36169689Skanirix-crti.o%s crtbegin.o%s" 37169689Skan 38169689Skan#undef LIB_SPEC 39169689Skan#define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}" 40169689Skan 41169689Skan#undef ENDFILE_SPEC 42169689Skan#define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}" 43169689Skan 44169689Skan#undef MACHINE_TYPE 45169689Skan#define MACHINE_TYPE "SGI running IRIX 5.x" 46