libgloss.h revision 132718
155714Skris/* libgloss.h -- operating system specific defines to be used when
255714Skris   targeting GCC for Libgloss supported targets.
355714Skris   Copyright (C) 1996 Free Software Foundation, Inc.
455714Skris
555714SkrisThis file is part of GCC.
655714Skris
755714SkrisGCC is free software; you can redistribute it and/or modify
8280304Sjkimit under the terms of the GNU General Public License as published by
955714Skristhe Free Software Foundation; either version 2, or (at your option)
1055714Skrisany later version.
1155714Skris
1255714SkrisGCC is distributed in the hope that it will be useful,
1355714Skrisbut WITHOUT ANY WARRANTY; without even the implied warranty of
1455714SkrisMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15280304SjkimGNU General Public License for more details.
1655714Skris
1755714SkrisYou should have received a copy of the GNU General Public License
1855714Skrisalong with GCC; see the file COPYING.  If not, write to
1955714Skristhe Free Software Foundation, 59 Temple Place - Suite 330,
2055714SkrisBoston, MA 02111-1307, USA.  */
2155714Skris
22280304Sjkim/* This file should not be used for ELF targets, as this definition of
2355714Skris   STARTFILE_SPEC is all wrong.  */
2455714Skris
2555714Skris/* The libgloss standard for crt0.s has the name based on the command line
2655714Skris   option.  */
2755714Skris#undef STARTFILE_SPEC
2855714Skris#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
2955714Skris
3055714Skris/* This file used to force LINK_SPEC to be the null string, but that is not
3155714Skris   correct.  LINK_SPEC is used to pass machine specific arguments to the
3255714Skris   linker and hence can not be redefined here.  LINK_SPEC is never used to
3355714Skris   specify startup files or libraries, so it should never conflict with
3455714Skris   libgloss.  */
3555714Skris
3655714Skris/* Don't set the target flags, this is done by the linker script */
37280304Sjkim#undef LIB_SPEC
3855714Skris#define LIB_SPEC ""
3955714Skris