|
|
1.1 root 1: /* Definitions of target machine for GNU compiler. SEQUENT NS32000 version.
2: Copyright (C) 1987 Free Software Foundation, Inc.
3: Contributed by Michael Tiemann ([email protected])
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 GNU CC; see the file COPYING. If not, write to
19: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20:
21: #include "ns32k/ns32k.h"
22:
23: /* This is BSD, so it wants DBX format. */
24: #define DBX_DEBUGGING_INFO
25:
26: /* Sequent has some changes in the format of DBX symbols. */
27: #define DBX_NO_XREFS 1
28:
29: /* Don't split DBX symbols into continuations. */
30: #define DBX_CONTIN_LENGTH 0
31:
32: #define TARGET_DEFAULT 9 /* 32332 with 32081 (guessing). */
33:
34: /* Print subsidiary information on the compiler version in use. */
35: #undef TARGET_VERSION
36: #define TARGET_VERSION fprintf (stderr, " (32000, Sequent syntax)");
37:
38: #undef CPP_PREDEFINES
39: #define CPP_PREDEFINES "-Dns32000 -Dsequent -Dunix -Asystem(unix) -Asystem(bsd) -Acpu(ns32k) -Amachine(ns32k)"
40:
41: /* Link with libg.a when debugging, for dbx's sake. */
42:
43: #define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} "
44:
45: /* gcc should find libgcc.a itself, not ask linker to do so. */
46:
47: #define LINK_LIBGCC_SPECIAL
48:
49: /* GCC must match what sys/types.h uses for size_t. */
50:
51: #define SIZE_TYPE "int"
52:
53: /* This is how to align the code that follows an unconditional branch.
54: Don't define it, since it confuses the assembler (we hear). */
55:
56: #undef ASM_OUTPUT_ALIGN_CODE
57:
58: /* Assembler pseudo-op for shared data segment. */
59: #define SHARED_SECTION_ASM_OP ".shdata"
60:
61: /* Control how stack adjust insns are output. */
62: #define SEQUENT_ADJUST_STACK
63:
64: #define NO_ABSOLUTE_PREFIX_IF_SYMBOLIC
65:
66: #define IMMEDIATE_PREFIX 0
67:
68: #define SEQUENT_ASM
69:
70: /* Operand of bsr or jsr should be just the address. */
71:
72: #define CALL_MEMREF_IMPLICIT
73:
74: /* Output a reg as an index rather than a base if we have the choice. */
75:
76: #define INDEX_RATHER_THAN_BASE
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.