150397Sobrien/* libgloss.h -- operating system specific defines to be used when
250397Sobrien   targeting GCC for Libgloss supported targets.
3169689Skan   Copyright (C) 1996, 2004 Free Software Foundation, Inc.
450397Sobrien
5132718SkanThis file is part of GCC.
650397Sobrien
7132718SkanGCC is free software; you can redistribute it and/or modify
850397Sobrienit under the terms of the GNU General Public License as published by
950397Sobrienthe Free Software Foundation; either version 2, or (at your option)
1050397Sobrienany later version.
1150397Sobrien
12132718SkanGCC is distributed in the hope that it will be useful,
1350397Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1450397SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1550397SobrienGNU General Public License for more details.
1650397Sobrien
1750397SobrienYou should have received a copy of the GNU General Public License
18132718Skanalong with GCC; see the file COPYING.  If not, write to
19169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor,
20169689SkanBoston, MA 02110-1301, USA.  */
2150397Sobrien
2290075Sobrien/* This file should not be used for ELF targets, as this definition of
2390075Sobrien   STARTFILE_SPEC is all wrong.  */
2490075Sobrien
2550397Sobrien/* The libgloss standard for crt0.s has the name based on the command line
26117395Skan   option.  */
2750397Sobrien#undef STARTFILE_SPEC
2850397Sobrien#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
2950397Sobrien
3050397Sobrien/* This file used to force LINK_SPEC to be the null string, but that is not
3150397Sobrien   correct.  LINK_SPEC is used to pass machine specific arguments to the
32169689Skan   linker and hence cannot be redefined here.  LINK_SPEC is never used to
3350397Sobrien   specify startup files or libraries, so it should never conflict with
3450397Sobrien   libgloss.  */
3550397Sobrien
3650397Sobrien/* Don't set the target flags, this is done by the linker script */
3750397Sobrien#undef LIB_SPEC
3850397Sobrien#define LIB_SPEC ""
39