|
|
1.1 root 1: #include <machine/ansi.h>
2: #include "m68k/m68k.h"
3:
4: /* Get generic NetBSD definitions. */
5:
6: #include "netbsd.h"
7:
8:
9: /* See m68k.h. 7 means 68020 with 68881. */
10:
11: #define TARGET_DEFAULT 7
12:
13: /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified.
14: This will control the use of inline 68881 insns in certain macros. */
15:
16: #undef CPP_SPEC
17: #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %{posix:-D_POSIX_SOURCE}"
18:
19: /* Names to predefine in the preprocessor for this target machine. */
20:
21: #define CPP_PREDEFINES "-Dunix -Dm68k -Dmc68000 -Dmc68020 -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k) -Amachine(m68k)"
22:
23: /* Make gcc agree with <machine/ansi.h> */
24:
25: #undef SIZE_TYPE
26: #define SIZE_TYPE "unsigned int"
27:
28: #undef PTRDIFF_TYPE
29: #define PTRDIFF_TYPE "int"
30:
31: #undef WCHAR_TYPE
32: #define WCHAR_TYPE "short unsigned int"
33:
34: #define WCHAR_UNSIGNED 1
35:
36: #undef WCHAR_TYPE_SIZE
37: #define WCHAR_TYPE_SIZE 16
38:
39: /* Every structure or union's size must be a multiple of 2 bytes. */
40:
41: #define STRUCTURE_SIZE_BOUNDARY 16
42:
43: /* This is BSD, so it wants DBX format. */
44:
45: #define DBX_DEBUGGING_INFO
46:
47: /* Do not break .stabs pseudos into continuations. */
48:
49: #define DBX_CONTIN_LENGTH 0
50:
51: /* This is the char to use for continuation (in case we need to turn
52: continuation back on). */
53:
54: #define DBX_CONTIN_CHAR '?'
55:
56: /* Don't use the `xsfoo;' construct in DBX output; this system
57: doesn't support it. */
58:
59: #define DBX_NO_XREFS
60:
61: /* Don't default to pcc-struct-return, because gcc is the only compiler, and
62: we want to retain compatibility with older gcc versions. */
63: #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.