OSDN Git Service

* config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
[pf3gnuchains/gcc-fork.git] / gcc / config / libgloss.h
1 /* libgloss.h -- operating system specific defines to be used when
2    targeting GCC for Libgloss supported targets.
3    Copyright (C) 1996, 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 /* This file should not be used for ELF targets, as this definition of
22    STARTFILE_SPEC is all wrong.  */
23
24 /* The libgloss standard for crt0.s has the name based on the command line
25    option.  */
26 #undef STARTFILE_SPEC
27 #define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
28
29 /* This file used to force LINK_SPEC to be the null string, but that is not
30    correct.  LINK_SPEC is used to pass machine specific arguments to the
31    linker and hence cannot be redefined here.  LINK_SPEC is never used to
32    specify startup files or libraries, so it should never conflict with
33    libgloss.  */
34
35 /* Don't set the target flags, this is done by the linker script */
36 #undef LIB_SPEC
37 #define LIB_SPEC ""