PR target/24837
[official-gcc.git] / gcc / config / libgloss.h
blob82de626c35970b9667e5d3e5fad5fb1ea8841e96
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.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 /* This file should not be used for ELF targets, as this definition of
23 STARTFILE_SPEC is all wrong. */
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}}}"
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. */
36 /* Don't set the target flags, this is done by the linker script */
37 #undef LIB_SPEC
38 #define LIB_SPEC ""