OSDN Git Service

config:
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / linux-aout.h
1 /* Definitions for ARM running Linux-based GNU systems using a.out.
2    Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
3    Contributed by Russell King  <rmk92@ecs.soton.ac.uk>.
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 this program; 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 #include <linux-aout.h>
23
24 /* these are different... */
25 #undef STARTFILE_SPEC
26 #define STARTFILE_SPEC \
27 "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}"
28
29 #undef ASM_APP_ON
30 #undef ASM_APP_OFF
31 #undef COMMENT_BEGIN
32  
33 /* We default to ARM3.  */
34 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm3
35
36 #undef CPP_PREDEFINES
37 #define CPP_PREDEFINES \
38 "-Dunix -D__arm__ -Dlinux \
39 -Asystem=unix -Asystem=posix -Acpu=arm -Amachine=arm"
40
41 #undef LIB_SPEC
42 #define LIB_SPEC \
43         "%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}"
44
45 #define HANDLE_SYSV_PRAGMA
46   
47 /* Run-time Target Specification.  */
48 #define TARGET_VERSION  fputs (" (ARM GNU/Linux with a.out)", stderr);
49
50 /* 
51  * Maths operation domain error number, EDOM
52  * We don't really want this for libc6.  However, taking it out would be
53  * too much of a pain for now and it doesn't hurt much.
54  */
55 #define TARGET_EDOM 33
56
57 #include "arm/aout.h"
58
59 #include "arm/linux-gas.h"