OSDN Git Service

* config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / iris6gld.h
1 /* Definitions of target machine for GNU compiler.  Iris version 6 with
2    GNU ld.
3    Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
4    Written by Mark Mitchell <mark@codesourcery.com>.
5
6 This file is part of GCC.
7
8 GCC 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 GCC 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 GCC; 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 #undef LIB_SPEC
24 #define LIB_SPEC \
25   "%{mabi=n32: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} \
26      -L/usr/lib32} \
27    %{mabi=64: %{mips4:-L/usr/lib64/mips4} %{!mips4:-L/usr/lib64/mips3} \
28      -L/usr/lib64} \
29    %{!mabi*: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} \
30      -L/usr/lib32} \
31    %{!shared: \
32      %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc}"
33
34 /* Use the default libgcc spec.  */
35 #undef LIBGCC_SPEC
36
37 /* ??? If no mabi=X option give, but a mipsX option is, then should depend
38    on the mipsX option.  */
39 #undef LINK_SPEC
40 #define LINK_SPEC "\
41 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
42 %{bestGnum} %{shared} %{non_shared} \
43 %{call_shared} %{no_archive} %{exact_version} \
44 %{static: -non_shared} \
45 %{!static: \
46   %{!shared: %{!non_shared: %{!call_shared: -call_shared}}}} \
47 %{rpath} -init __do_global_ctors -fini __do_global_dtors \
48 %{mabi=32: -melf32bsmip}%{mabi=n32: -melf32bmipn32}%{mabi=64: -melf64bmip}%{!mabi*: -melf32bmipn32}"
49
50 /* The GNU linker supports one-only sections.  */
51 #define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)