OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / config / linux-aout.h
1 /* Definitions for Linux
2    Copyright (C) 1995 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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
20
21 /* Don't assume anything about the header files. */
22 #define NO_IMPLICIT_EXTERN_C
23
24 #undef HAVE_ATEXIT
25 #define HAVE_ATEXIT
26
27 /* Linux uses ctype from glibc.a. I am not sure how complete it is.
28    For now, we play safe. It may change later. */
29
30 #if 0
31 #undef MULTIBYTE_CHARS
32 #define MULTIBYTE_CHARS 1
33 #endif
34
35 #undef STARTFILE_SPEC
36 #define STARTFILE_SPEC  "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}"
37
38 /* There are conflicting reports about whether this system uses
39    a different assembler syntax.  wilson@cygnus.com says # is right.  */
40 #undef COMMENT_BEGIN
41 #define COMMENT_BEGIN "#"
42
43 #undef ASM_APP_ON
44 #define ASM_APP_ON "#APP\n"
45
46 #undef ASM_APP_OFF
47 #define ASM_APP_OFF "#NO_APP\n"
48
49 /* We need that too. */
50 #define HANDLE_SYSV_PRAGMA