* config/netbsd.h (TARGET_HAS_F_SETLKW): define.
[official-gcc.git] / gcc / config / m68k / netbsd.h
blob07dd4e8cc34ca7fba71f9547c44b0da71d793885
1 #include <m68k/m68k.h>
3 /* Get generic NetBSD definitions. */
5 #include <netbsd.h>
6 #include <netbsd-aout.h>
8 #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020)
10 /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified.
11 This will control the use of inline 68881 insns in certain macros. */
13 #undef CPP_SPEC
14 #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %{posix:-D_POSIX_SOURCE}"
16 #undef ASM_SPEC
17 #define ASM_SPEC " %| %{m68030} %{m68040} %{m68060} %{fpic:-k} %{fPIC:-k -K}"
19 /* Names to predefine in the preprocessor for this target machine. */
21 #define CPP_PREDEFINES "-Dunix -Dm68k -Dmc68000 -Dmc68020 -D__NetBSD__ -Asystem=unix -Asystem=NetBSD -Acpu=m68k -Amachine=m68k"
23 /* Make gcc agree with <machine/ansi.h> */
25 #undef SIZE_TYPE
26 #define SIZE_TYPE "unsigned int"
28 #undef PTRDIFF_TYPE
29 #define PTRDIFF_TYPE "int"
31 #undef WCHAR_TYPE
32 #define WCHAR_TYPE "int"
34 #undef WCHAR_UNSIGNED
35 #define WCHAR_UNSIGNED 0
37 #undef WCHAR_TYPE_SIZE
38 #define WCHAR_TYPE_SIZE 32
40 /* Every structure or union's size must be a multiple of 2 bytes. */
42 #define STRUCTURE_SIZE_BOUNDARY 16
44 /* This is BSD, so it wants DBX format. */
46 #define DBX_DEBUGGING_INFO
48 /* Do not break .stabs pseudos into continuations. */
50 #define DBX_CONTIN_LENGTH 0
52 /* This is the char to use for continuation (in case we need to turn
53 continuation back on). */
55 #define DBX_CONTIN_CHAR '?'
57 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
58 we want to retain compatibility with older gcc versions. */
59 #define DEFAULT_PCC_STRUCT_RETURN 0
61 /* Until they use ELF or something that handles dwarf2 unwinds
62 and initialization stuff better. */
63 #define DWARF2_UNWIND_INFO 0