OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [mips/] [iris5.h] - Blame information for rev 309

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/* Definitions of target machine for GNU compiler.  IRIX version 5.
2
   Copyright (C) 1993, 1995, 1996, 1998, 2000,
3
   2001, 2002, 2003, 2004, 2007, 2010 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
/* Avoid getting two warnings for libgcc.a everytime we link. */
41
#undef LIBGCC_SPEC
42
#define LIBGCC_SPEC \
43
  SUBTARGET_DONT_WARN_UNUSED_SPEC " -lgcc " SUBTARGET_WARN_UNUSED_SPEC
44
 
45
#undef ENDFILE_SPEC
46
#define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"
47
 
48
#undef MACHINE_TYPE
49
#define MACHINE_TYPE "SGI running IRIX 5.x"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.