]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/i386/linux-oldld.h
i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
[thirdparty/gcc.git] / gcc / config / i386 / linux-oldld.h
CommitLineData
bebc4663
JL
1/* Definitions for Intel 386 running Linux-based GNU systems with pre-BFD
2 a.out linkers.
9ec36da5 3 Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
d8f9c209
MM
4 Contributed by Michael Meissner (meissner@cygnus.com)
5
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2, or (at your option)
11any later version.
12
13GNU CC is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU CC; see the file COPYING. If not, write to
97aadbb9
RK
20the Free Software Foundation, 59 Temple Place - Suite 330,
21Boston, MA 02111-1307, USA. */
d8f9c209
MM
22
23/* This is tested by i386/gas.h. */
24#define YES_UNDERSCORES
25
096b9fea
RK
26#include <i386/gstabs.h>
27#include <linux-aout.h> /* some common stuff */
d8f9c209 28
bebc4663
JL
29#undef ASM_COMMENT_START
30#define ASM_COMMENT_START "#"
31
d8f9c209
MM
32/* Specify predefined symbols in preprocessor. */
33
34#undef CPP_PREDEFINES
2b57e919 35#define CPP_PREDEFINES "-Dunix -Dlinux -Asystem=posix"
d8f9c209
MM
36
37#undef CPP_SPEC
1228a9bd 38#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
d8f9c209
MM
39
40#undef SIZE_TYPE
41#define SIZE_TYPE "unsigned int"
42
43#undef PTRDIFF_TYPE
44#define PTRDIFF_TYPE "int"
45
46#undef WCHAR_TYPE
47#define WCHAR_TYPE "long int"
48
49#undef WCHAR_TYPE_SIZE
50#define WCHAR_TYPE_SIZE BITS_PER_WORD
51
52/* Don't default to pcc-struct-return, because gcc is the only compiler,
53 and we want to retain compatibility with older gcc versions. */
54#define DEFAULT_PCC_STRUCT_RETURN 0
55
56#undef LIB_SPEC
57
58#if 1
59/* We no longer link with libc_p.a or libg.a by default. If you
bebc4663
JL
60 want to profile or debug the GNU/Linux C library, please add
61 lc_p or -ggdb to LDFLAGS at the link time, respectively. */
d8f9c209
MM
62#define LIB_SPEC \
63"%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}"
64#else
65#define LIB_SPEC \
66"%{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
67 %{!p:%{!pg:%{!g*:-lc} %{g*:-lg -static}}}"
68#endif
69
70\f
71#undef LINK_SPEC
72#define LINK_SPEC ""