Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / gcc / config / linux-aout.h
1 /* Definitions for Linux-based GNU systems.
2    Copyright (C) 1995, 1997 Free Software Foundation, Inc.
3    Contributed by H.J. Lu (hjl@nynexst.com)
4
5 This file is part of GNU CC.
6
7 GNU CC 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.
11
12 GNU CC 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.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 /* Don't assume anything about the header files. */
23 #define NO_IMPLICIT_EXTERN_C
24
25 #undef HAVE_ATEXIT
26 #define HAVE_ATEXIT
27
28 /* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is.
29    For now, we play safe. It may change later. */
30
31 #if 0
32 #undef MULTIBYTE_CHARS
33 #define MULTIBYTE_CHARS 1
34 #endif
35
36 #undef STARTFILE_SPEC
37 #define STARTFILE_SPEC  "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}"
38
39 #undef ASM_APP_ON
40 #define ASM_APP_ON "#APP\n"
41
42 #undef ASM_APP_OFF
43 #define ASM_APP_OFF "#NO_APP\n"
44
45 #define SET_ASM_OP      ".set"
46
47 /* We need that too. */
48 #define HANDLE_SYSV_PRAGMA