1 #define TARGET_OS_CPP_BUILTINS() \ 2 do \ 3 { \ 4 NETBSD_OS_CPP_BUILTINS_AOUT(); \ 5 builtin_define_std ("unix"); \ 6 builtin_define_std ("m68k"); \ 7 builtin_define_std ("mc68000"); \ 8 builtin_define_std ("mc68020"); \ 9 builtin_assert ("cpu=m68k"); \ 10 builtin_assert ("machine=m68k"); \ 11 } \ 12 while (0) 13 14 #include <m68k/m68k.h> 15 16 /* Get generic NetBSD definitions. */ 17 18 #include <netbsd.h> 19 #include <netbsd-aout.h> 20 21 #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020) 22 23 #define EXTRA_SPECS \ 24 { "netbsd_cpp_spec", NETBSD_CPP_SPEC }, 25 26 /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified. 27 This will control the use of inline 68881 insns in certain macros. */ 28 29 #undef CPP_SPEC 30 #define CPP_SPEC \ 31 "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %(netbsd_cpp_spec)" 32 33 #undef ASM_SPEC 34 #define ASM_SPEC " %| %{m68030} %{m68040} %{m68060} %{fpic:-k} %{fPIC:-k -K}" 35 36 37 /* Make gcc agree with <machine/ansi.h> */ 38 39 #undef SIZE_TYPE 40 #define SIZE_TYPE "unsigned int" 41 42 #undef PTRDIFF_TYPE 43 #define PTRDIFF_TYPE "int" 44 45 /* Every structure or union's size must be a multiple of 2 bytes. */ 46 47 #define STRUCTURE_SIZE_BOUNDARY 16 48 49 /* This is BSD, so it wants DBX format. */ 50 51 #define DBX_DEBUGGING_INFO 1 52 53 /* Do not break .stabs pseudos into continuations. */ 54 55 #define DBX_CONTIN_LENGTH 0 56 57 /* This is the char to use for continuation (in case we need to turn 58 continuation back on). */ 59 60 #define DBX_CONTIN_CHAR '?' 61 62 /* Don't default to pcc-struct-return, because gcc is the only compiler, and 63 we want to retain compatibility with older gcc versions. */ 64 #define DEFAULT_PCC_STRUCT_RETURN 0 65 66 /* Until they use ELF or something that handles dwarf2 unwinds 67 and initialization stuff better. */ 68 #define DWARF2_UNWIND_INFO 0 69 70