OSDN Git Service

* tm.texi (REGISTER_MOVE_COST): Add a mode argument.
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / netbsd.h
1 #include <sparc/sparc.h>
2
3 /* Get generic NetBSD definitions.  */
4
5 #include <netbsd.h>
6
7 /* Names to predefine in the preprocessor for this target machine.  */
8
9 #undef CPP_PREDEFINES
10 #define CPP_PREDEFINES "-Dunix -Dsparc -D__NetBSD__ -Asystem=unix -Asystem=NetBSD -Acpu=sparc -Amachine=sparc"
11
12 /* Make gcc agree with <machine/ansi.h> */
13
14 #undef SIZE_TYPE
15 #define SIZE_TYPE "unsigned int"
16
17 #undef PTRDIFF_TYPE
18 #define PTRDIFF_TYPE "int"
19
20 #undef WCHAR_TYPE
21 #define WCHAR_TYPE "int"
22
23 #undef WCHAR_UNSIGNED
24 #define WCHAR_UNSIGNED 0
25
26 #undef WCHAR_TYPE_SIZE
27 #define WCHAR_TYPE_SIZE 32
28
29 /* This is BSD, so it wants DBX format.  */
30
31 #define DBX_DEBUGGING_INFO
32
33 /* This is the char to use for continuation (in case we need to turn
34    continuation back on).  */
35
36 #define DBX_CONTIN_CHAR '?'
37
38 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
39    we want to retain compatibility with older gcc versions.  */
40 #undef DEFAULT_PCC_STRUCT_RETURN
41 #define DEFAULT_PCC_STRUCT_RETURN 0
42
43 /* Until they use ELF or something that handles dwarf2 unwinds
44    and initialization stuff better.  */
45 #define DWARF2_UNWIND_INFO 0
46