libgloss.h revision 296373
1132718Skan/* libgloss.h -- operating system specific defines to be used when
2132718Skan   targeting GCC for Libgloss supported targets.
3132718Skan   Copyright (C) 1996, 2004 Free Software Foundation, Inc.
4132718Skan
5132718SkanThis file is part of GCC.
6132718Skan
7132718SkanGCC is free software; you can redistribute it and/or modify
8132718Skanit under the terms of the GNU General Public License as published by
9132718Skanthe Free Software Foundation; either version 2, or (at your option)
10132718Skanany later version.
11132718Skan
12132718SkanGCC is distributed in the hope that it will be useful,
13132718Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of
14132718SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15132718SkanGNU General Public License for more details.
16132718Skan
17132718SkanYou 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,
20132718SkanBoston, MA 02110-1301, USA.  */
21132718Skan
22132718Skan/* This file should not be used for ELF targets, as this definition of
23132718Skan   STARTFILE_SPEC is all wrong.  */
24132718Skan
25132718Skan/* The libgloss standard for crt0.s has the name based on the command line
26132718Skan   option.  */
27132718Skan#undef STARTFILE_SPEC
28132718Skan#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
29132718Skan
30132718Skan/* This file used to force LINK_SPEC to be the null string, but that is not
31132718Skan   correct.  LINK_SPEC is used to pass machine specific arguments to the
32132718Skan   linker and hence cannot be redefined here.  LINK_SPEC is never used to
33132718Skan   specify startup files or libraries, so it should never conflict with
34132718Skan   libgloss.  */
35132718Skan
36132718Skan/* Don't set the target flags, this is done by the linker script */
37132718Skan#undef LIB_SPEC
38132718Skan#define LIB_SPEC ""
39132718Skan