|
|
1.1 root 1: /* Definitions of target machine for GNU compiler.
2: Copyright (C) 1990 Free Software Foundation, Inc.
3:
4: Written by Randy Welch
5: Send bug reports, questions and improvements to any of the following
6: addresses:
7:
8: [email protected]
9: [email protected]
10: [email protected]
11:
12: For Plexus P/60 and assumably P/35 P/75 P/95's running System V.2
13:
14: This file outputs assembler source for gas-1.38.1 with the COFF patches
15: The patches for gas-1.38.1 to support COFF is on ftp.cs.umb.edu in pub/gnu
16: No debugging is supported, due to the fact that the only debugger Plexus
17: had was adb *sigh*.
18:
19: This is configured for label output default by gas as LXXX instead of
20: plexus cc/as combination requires .LXXX
21:
22: This file is part of GNU CC.
23:
24: GNU CC is free software; you can redistribute it and/or modify
25: it under the terms of the GNU General Public License as published by
26: the Free Software Foundation; either version 1, or (at your option)
27: any later version.
28:
29: GNU CC is distributed in the hope that it will be useful,
30: but WITHOUT ANY WARRANTY; without even the implied warranty of
31: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32: GNU General Public License for more details.
33:
34: You should have received a copy of the GNU General Public License
35: along with GNU CC; see the file COPYING. If not, write to
36: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
37:
38:
39: #include "m68k.h"
40:
41: /* Define __HAVE_68881 in preprocessor only if -m68881 is specified.
42: This will control the use of inline 68881 insns in certain macros. */
43:
44: #define TARGET_DEFAULT 5 /* set to 5 if on a '020 box */
45:
46: #define CPP_SPEC "%{m68881:-D__HAVE_68881__}"
47: #define CPP_PREDEFINES "-Dm68 -Dunix -Dplexus"
48:
49: #if TARGET_DEFAULT & 01
50: #define ASM_SPEC\
51: "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"
52: #undef STRICT_ALIGNMENT
53: #define STRICT_ALIGNMENT 0
54: #else
55: #define ASM_SPEC\
56: "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!mc68020:-mc68000}}"
57: #endif
58:
59: /***************************************************************************/
60: /* Un comment the following if you want adb to be able to follow a core */
61: /* file if you compile a program with -O */
62: /***************************************************************************/
63: /* #define FRAME_POINTER_REQUIRED */
64:
65: /* Let's be compatible with the Plexus C compiler by default. Why not? */
66: #define PLEXUS_CC_COMPAT
67:
68: #ifdef PLEXUS_CC_COMPAT
69: #define STRUCTURE_SIZE_BOUNDARY 16 /* for compatiblity with cc */
70: #undef STACK_BOUNDARY
71: #define STACK_BOUNDARY 32 /* ditto */
72: #endif
73:
74: #undef NEED_PROBE
75: #define NEED_PROBE -132 /* plexus needs a stack probe */
76:
77: #undef DBX_DEBUGGING_INFO /* no real debugger */
78: #undef SDB_DEBUGGING_INFO
79:
80: #define TARGET_MEM_FUNCTIONS
81:
82: /***********************************************************************/
83: /* items for collect2 */
84: /***********************************************************************/
85:
86: #define NM_FLAGS ""
87: #define NO_SYS_SIGLIST
88: #define NO_DUP2
89:
90: #define SIZE_TYPE "int"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.