* rtl.h (rtunion_def): Constify member `rtstr'.
[official-gcc.git] / gcc / config / arm / linux-aout.h
blobfd76805f79226f64283f97aabe9a61f0c8596a3b
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>.
5 This file is part of GNU CC.
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.
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.
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. */
22 #include <linux-aout.h>
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}"
29 #undef ASM_APP_ON
30 #undef ASM_APP_OFF
31 #undef COMMENT_BEGIN
33 /* We default to ARM3. */
34 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm3
36 #undef CPP_PREDEFINES
37 #define CPP_PREDEFINES \
38 "-Dunix -D__arm__ -Dlinux \
39 -Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)"
41 #undef LIB_SPEC
42 #define LIB_SPEC \
43 "%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}"
45 #define HANDLE_SYSV_PRAGMA
47 /* Run-time Target Specification. */
48 #define TARGET_VERSION fputs (" (ARM GNU/Linux with a.out)", stderr);
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.
55 #define TARGET_EDOM 33
57 #include "arm/aout.h"
59 #include "arm/linux-gas.h"