|
|
1.1 root 1: /* Definitions for Intel 386 running system V.
2: Copyright (C) 1988 Free Software Foundation, Inc.
3:
4: This file is part of GNU CC.
5:
6: GNU CC is free software; you can redistribute it and/or modify
7: it under the terms of the GNU General Public License as published by
8: the Free Software Foundation; either version 1, or (at your option)
9: any later version.
10:
11: GNU CC is distributed in the hope that it will be useful,
12: but WITHOUT ANY WARRANTY; without even the implied warranty of
13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: GNU General Public License for more details.
15:
16: You should have received a copy of the GNU General Public License
17: along with GNU CC; see the file COPYING. If not, write to
18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19:
20:
21: #include "tm-i386.h"
22:
23: /* Use the ATT assembler syntax. */
24:
25: #include "tm-att386.h"
26:
27: /* By default, target has a 80387. */
28:
29: #define TARGET_DEFAULT 1
30:
31: /* Use crt1.o as a startup file and crtn.o as a closing file. */
32:
33: #define STARTFILE_SPEC \
1.1.1.2 ! root 34: "%{pg:gcrt1.o%s}%{!pg:%{posix:%{p:mcrtp1.o%s}%{!p:crtp1.o%s}}%{!posix:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}\
! 35: %{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp}"
1.1 root 36:
1.1.1.2 ! root 37: #define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc crtn.o%s"
1.1 root 38:
39: /* Specify predefined symbols in preprocessor. */
40:
41: #define CPP_PREDEFINES "-Dunix -Di386"
42:
1.1.1.2 ! root 43: #define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
! 44:
1.1 root 45: /* Allow #sccs in preprocessor. */
46:
47: #define SCCS_DIRECTIVE
48:
49: /* Output #ident as a .ident. */
50:
51: #define ASM_OUTPUT_IDENT(FILE, NAME) fprintf (FILE, "\t.ident \"%s\"\n", NAME);
52:
53: /* We want to output SDB debugging information. */
54:
55: #define SDB_DEBUGGING_INFO
56:
57: /* We don't want to output DBX debugging information. */
58:
59: #undef DBX_DEBUGGING_INFO
60:
61: /* Implicit library calls should use memcpy, not bcopy, etc. */
62:
63: #define TARGET_MEM_FUNCTIONS
64:
65: /* Writing `int' for a bitfield forces int alignment for the structure. */
66:
1.1.1.2 ! root 67: #define PCC_BITFIELD_TYPE_MATTERS 1
1.1 root 68:
69: /* Don't write a `.optim' pseudo; this assembler doesn't handle them. */
70:
71: #undef ASM_FILE_START_1
72: #define ASM_FILE_START_1(FILE)
73:
74: /* Machines that use the AT&T assembler syntax
75: also return floating point values in an FP register. */
76: /* Define how to find the value returned by a function.
77: VALTYPE is the data type of the value (as a tree).
78: If the precise function being called is known, FUNC is its FUNCTION_DECL;
79: otherwise, FUNC is 0. */
80:
81: #define VALUE_REGNO(MODE) \
82: (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
83:
84: /* 1 if N is a possible register number for a function value. */
85:
86: #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.