libgloss.h revision 50397
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
5This file is part of GNU CC.
6
7GNU CC 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
12GNU CC 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 GNU CC; see the file COPYING.  If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.  */
21
22/* The libgloss standard for crt0.s has the name based on the command line
23   option. */
24#undef STARTFILE_SPEC
25#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
26
27/* This file used to force LINK_SPEC to be the null string, but that is not
28   correct.  LINK_SPEC is used to pass machine specific arguments to the
29   linker and hence can not be redefined here.  LINK_SPEC is never used to
30   specify startup files or libraries, so it should never conflict with
31   libgloss.  */
32
33/* Don't set the target flags, this is done by the linker script */
34#undef LIB_SPEC
35#define LIB_SPEC ""
36