1/* libgloss.h -- operating system specific defines to be used when
2   targeting GCC for Libgloss supported targets.
3   Copyright (C) 1996, 2004 Free Software Foundation, Inc.
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING.  If not, write to
19the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, 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 cannot 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 ""
39