OSDN Git Service

(WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int.
[pf3gnuchains/gcc-fork.git] / gcc / config / m68k / netbsd.h
1 #include <m68k/m68k.h>
2
3 /* Get generic NetBSD definitions.  */
4
5 #include <netbsd.h>
6
7
8 /* See m68k.h.  7 means 68020 with 68881.  */
9
10 #define TARGET_DEFAULT 7
11
12 /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified.
13    This will control the use of inline 68881 insns in certain macros.  */
14
15 #undef CPP_SPEC
16 #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %{posix:-D_POSIX_SOURCE}"
17
18 /* Names to predefine in the preprocessor for this target machine.  */
19
20 #define CPP_PREDEFINES "-Dunix -Dm68k -Dmc68000 -Dmc68020 -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k) -Amachine(m68k)"
21 \f
22 /* Make gcc agree with <machine/ansi.h> */
23
24 #undef SIZE_TYPE
25 #define SIZE_TYPE "unsigned int"
26
27 #undef PTRDIFF_TYPE
28 #define PTRDIFF_TYPE "int"
29
30 #undef WCHAR_TYPE
31 #define WCHAR_TYPE "int"
32
33 #undef WCHAR_UNSIGNED
34 #define WCHAR_UNSIGNED 0
35
36 #undef WCHAR_TYPE_SIZE
37 #define WCHAR_TYPE_SIZE 32
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