|
|
1.1 root 1: /* Configuration for a ns32532 running NetBSD as the target machine. 1.1.1.2 ! root 2: Copyright (C) 1988, 1994, 1995 Free Software Foundation, Inc. 1.1 root 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 2, 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 1.1.1.2 ! root 18: the Free Software Foundation, 59 Temple Place - Suite 330, ! 19: Boston, MA 02111-1307, USA. 1.1 root 20: 21: */ 22: 1.1.1.2 ! root 23: #include <ns32k/ns32k.h> 1.1 root 24: 25: /* Compile for the floating point unit & 32532 by default; 26: Don't assume SB is zero; 27: Don't use bitfield instructions; */ 28: 1.1.1.2 ! root 29: #define TARGET_DEFAULT (1 + 24 + 32 + 64) 1.1 root 30: 31: /* 32-bit alignment for efficiency */ 32: 33: #undef POINTER_BOUNDARY 34: #define POINTER_BOUNDARY 32 35: 36: /* 32-bit alignment for efficiency */ 37: 38: #undef FUNCTION_BOUNDARY 39: #define FUNCTION_BOUNDARY 32 40: 41: /* 32532 spec says it can handle any alignment. Rumor from tm-ns32k.h 42: tells this might not be actually true (but it's for 32032, perhaps 43: National has fixed the bug for 32532). You might have to change this 44: if the bug still exists. */ 45: 46: #undef STRICT_ALIGNMENT 47: #define STRICT_ALIGNMENT 0 48: 49: /* Use pc relative addressing whenever possible, 50: it's more efficient than absolute (ns32k.c) 51: You have to fix a bug in gas 1.38.1 to make this work with gas, 52: patch available from [email protected]. 53: (NetBSD's gas version has this patch already applied) */ 54: 55: #define PC_RELATIVE 56: 57: /* Operand of bsr or jsr should be just the address. */ 58: 59: #define CALL_MEMREF_IMPLICIT 60: 61: /* movd insns may have floating point constant operands. */ 62: 63: #define MOVD_FLOAT_OK 64: 1.1.1.2 ! root 65: /* Get generic NetBSD definitions. */ ! 66: #include <netbsd.h> ! 67: 1.1 root 68: /* Names to predefine in the preprocessor for this target machine. */ 69: 70: #undef CPP_PREDEFINES 1.1.1.2 ! root 71: #define CPP_PREDEFINES "-Dunix -Dns32k -Dns32000 -Dns32532 -D__NetBSD__ -Dpc532 -D__ns32k__ -Asystem(unix) -Asystem(NetBSD) -Acpu(ns32k) -Amachine(ns32k)" 1.1 root 72: 73: /* Make gcc agree with <machine/ansi.h> */ 74: 75: #undef SIZE_TYPE 76: #define SIZE_TYPE "unsigned int" 77: 78: #undef PTRDIFF_TYPE 79: #define PTRDIFF_TYPE "int" 80: 81: #undef WCHAR_TYPE 82: #define WCHAR_TYPE "int" 83: 1.1.1.2 ! root 84: #undef WCHAR_UNSIGNED 1.1 root 85: #define WCHAR_UNSIGNED 0 86: 87: #undef WCHAR_TYPE_SIZE 88: #define WCHAR_TYPE_SIZE 32 89: 90: /* This is BSD, so it wants DBX format. */ 91: 92: #define DBX_DEBUGGING_INFO 93: 94: /* Do not break .stabs pseudos into continuations. */ 95: 96: #define DBX_CONTIN_LENGTH 0 97: 98: /* This is the char to use for continuation (in case we need to turn 99: continuation back on). */ 100: 101: #define DBX_CONTIN_CHAR '?' 102: 103: /* Don't use the `xsfoo;' construct in DBX output; this system 104: doesn't support it. */ 105: 106: #define DBX_NO_XREFS 107: 108: /* Don't default to pcc-struct-return, because gcc is the only compiler, and 109: we want to retain compatibility with older gcc versions. */ 110: 111: #undef PCC_STATIC_STRUCT_RETURN 112: #define DEFAULT_PCC_STRUCT_RETURN 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.