1 /* Definitions of target machine for GNU compiler. SEQUENT NS32000 version.
2 Copyright (C) 1987 Free Software Foundation, Inc.
3 Contributed by Michael Tiemann (tiemann@mcc.com)
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)
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 GNU CC; 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 "ns32k/ns32k.h"
24 /* This is BSD, so it wants DBX format. */
25 #define DBX_DEBUGGING_INFO
27 /* Sequent has some changes in the format of DBX symbols. */
28 #define DBX_NO_XREFS 1
30 /* Don't split DBX symbols into continuations. */
31 #define DBX_CONTIN_LENGTH 0
33 #define TARGET_DEFAULT 9 /* 32332 with 32081 (guessing). */
35 /* Print subsidiary information on the compiler version in use. */
37 #define TARGET_VERSION fprintf (stderr, " (32000, Sequent syntax)");
40 #define CPP_PREDEFINES "-Dns32000 -Dsequent -Dunix -Asystem(unix) -Asystem(bsd) -Acpu(ns32k) -Amachine(ns32k)"
42 /* Link with libg.a when debugging, for dbx's sake. */
44 #define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} "
46 /* gcc should find libgcc.a itself, not ask linker to do so. */
48 #define LINK_LIBGCC_SPECIAL
50 /* GCC must match what sys/types.h uses for size_t. */
52 #define SIZE_TYPE "int"
54 /* This is how to align the code that follows an unconditional branch.
55 Don't define it, since it confuses the assembler (we hear). */
57 #undef LABEL_ALIGN_AFTER_BARRIER
59 /* Assembler pseudo-op for shared data segment. */
60 #define SHARED_SECTION_ASM_OP ".shdata"
62 /* Control how stack adjust insns are output. */
63 #define SEQUENT_ADJUST_STACK
65 #define NO_ABSOLUTE_PREFIX_IF_SYMBOLIC
67 #define IMMEDIATE_PREFIX 0
71 /* Operand of bsr or jsr should be just the address. */
73 #define CALL_MEMREF_IMPLICIT
75 /* Output a reg as an index rather than a base if we have the choice. */
77 #define INDEX_RATHER_THAN_BASE