OSDN Git Service

2001-07-30 H.J. Lu (hjl@gnu.org)
[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 Free Software Foundation, Inc.
4
5 This file is part of GNU CC.
6
7 GNU CC 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 2, or (at your option)
10 any later version.
11
12 GNU CC 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 GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 /* This file should not be used for ELF targets, as this definition of
23    STARTFILE_SPEC is all wrong.  */
24
25 /* The libgloss standard for crt0.s has the name based on the command line
26    option. */
27 #undef STARTFILE_SPEC
28 #define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
29
30 /* This file used to force LINK_SPEC to be the null string, but that is not
31    correct.  LINK_SPEC is used to pass machine specific arguments to the
32    linker and hence can not be redefined here.  LINK_SPEC is never used to
33    specify startup files or libraries, so it should never conflict with
34    libgloss.  */
35
36 /* Don't set the target flags, this is done by the linker script */
37 #undef LIB_SPEC
38 #define LIB_SPEC ""