|
|
1.1 root 1: /* Definitions for Intel 386 running system V with gnu tools
2: Copyright (C) 1988 Free Software Foundation, Inc.
3:
4: This file is part of GNU CC.
5:
1.1.1.2 ! root 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:
1.1 root 11: GNU CC is distributed in the hope that it will be useful,
1.1.1.2 ! root 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. */
1.1 root 19:
20:
21: #include "tm-i386.h"
22: /* Use the bsd assembler syntax. */
23: /* we need to do this because gas is really a bsd style assembler,
24: * and so doesn't work well this these att-isms:
25: *
26: * ASM_OUTPUT_SKIP is .set .,.+N, which isn't implemented in gas
27: * ASM_OUTPUT_LOCAL is done with .set .,.+N, but that can't be
28: * used to define bss static space
29: * ASM_OUTPUT_ALIGN's arg is N instead of log(N) for att
30: *
31: * Next is the question of whether to uses underscores. RMS didn't
32: * like this idea at first, but since it is now obvious that we
33: * need this separate tm file for use with gas, at least to get
34: * dbx debugging info, I think we should also switch to underscores.
35: * We can keep tm-i386v for real att style output, and the few
36: * people who want both form will have to compile twice.
37: */
38:
39: #include "tm-bsd386.h"
40:
41: /* these come from tm-bsd386.h, but are specific to sequent */
42: #undef DBX_NO_XREFS
43: #undef DBX_CONTIN_LENGTH
44:
45: /* By default, target has a 80387. */
46:
47: #define TARGET_DEFAULT 1
48:
49: /* Specify predefined symbols in preprocessor. */
50:
51: #define CPP_PREDEFINES "-Dunix -Di386"
52:
53: /* Allow #ident and #sccs in preprocessor. */
54:
55: #define IDENT_DIRECTIVE
56: #define SCCS_DIRECTIVE
57:
58: /* We do not want to output SDB debugging information. */
59:
60: #undef SDB_DEBUGGING_INFO
61:
62: /* We want to output DBX debugging information. */
63:
64: #define DBX_DEBUGGING_INFO
65:
66: /* Implicit library calls should use memcpy, not bcopy, etc. */
67:
68: #define TARGET_MEM_FUNCTIONS
69:
70:
71: /* Machines that use the AT&T assembler syntax
72: also return floating point values in an FP register. */
73: /* Define how to find the value returned by a function.
74: VALTYPE is the data type of the value (as a tree).
75: If the precise function being called is known, FUNC is its FUNCTION_DECL;
76: otherwise, FUNC is 0. */
77:
78: #define VALUE_REGNO(MODE) \
79: (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
80:
81: /* 1 if N is a possible register number for a function value. */
82:
83: #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
84:
85: #undef ASM_FILE_START
86: #define ASM_FILE_START(FILE) \
87: fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.