|
|
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/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: /* Don't try using XFmode. */
47: #undef LONG_DOUBLE_TYPE_SIZE
48: #define LONG_DOUBLE_TYPE_SIZE 64
49:
50: #define CPP_SPEC "%{m68881:-D__HAVE_68881__}"
51: #define CPP_PREDEFINES "-Dm68 -Dunix -Dplexus -Asystem(unix) -Acpu(m68k) -Amachine(m68k)"
52:
53: #if TARGET_DEFAULT & 01
54: #define ASM_SPEC\
55: "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"
56: #undef STRICT_ALIGNMENT
57: #define STRICT_ALIGNMENT 0
58: #else
59: #define ASM_SPEC\
60: "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!mc68020:-mc68000}}"
61: #endif
62:
63: /***************************************************************************/
64: /* Un comment the following if you want adb to be able to follow a core */
65: /* file if you compile a program with -O */
66: /***************************************************************************/
67: /* #define FRAME_POINTER_REQUIRED */
68:
69: /* Let's be compatible with the Plexus C compiler by default. Why not? */
70: #define PLEXUS_CC_COMPAT
71:
72: #ifdef PLEXUS_CC_COMPAT
73: #define STRUCTURE_SIZE_BOUNDARY 16 /* for compatibility with cc */
74: #undef STACK_BOUNDARY
75: #define STACK_BOUNDARY 32 /* ditto */
76: #endif
77:
78: #undef NEED_PROBE
79: #define NEED_PROBE -132 /* plexus needs a stack probe */
80:
81: #undef DBX_DEBUGGING_INFO /* no real debugger */
82: #undef SDB_DEBUGGING_INFO
83:
84: #define TARGET_MEM_FUNCTIONS
85:
86: /***********************************************************************/
87: /* items for collect2 */
88: /***********************************************************************/
89:
90: #define NM_FLAGS ""
91: #define NO_SYS_SIGLIST
92: #define NO_DUP2
93:
94: #define SIZE_TYPE "int"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.