]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/m68k/netbsd.h
1 #define TARGET_OS_CPP_BUILTINS() \
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"); \
14 #include <m68k/m68k.h>
16 /* Get generic NetBSD definitions. */
19 #include <netbsd-aout.h>
21 #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020)
24 { "netbsd_cpp_spec", NETBSD_CPP_SPEC },
26 /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified.
27 This will control the use of inline 68881 insns in certain macros. */
31 "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %(netbsd_cpp_spec)"
34 #define ASM_SPEC "%{m68030} %{m68040} %{m68060} %{fpic:-k} %{fPIC:-k -K}"
36 #define AS_NEEDS_DASH_FOR_PIPED_INPUT
39 /* Make gcc agree with <machine/ansi.h> */
42 #define SIZE_TYPE "unsigned int"
45 #define PTRDIFF_TYPE "int"
47 /* Every structure or union's size must be a multiple of 2 bytes. */
49 #define STRUCTURE_SIZE_BOUNDARY 16
51 /* This is BSD, so it wants DBX format. */
53 #define DBX_DEBUGGING_INFO 1
55 /* Do not break .stabs pseudos into continuations. */
57 #define DBX_CONTIN_LENGTH 0
59 /* This is the char to use for continuation (in case we need to turn
60 continuation back on). */
62 #define DBX_CONTIN_CHAR '?'
64 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
65 we want to retain compatibility with older gcc versions. */
66 #define DEFAULT_PCC_STRUCT_RETURN 0
68 /* Until they use ELF or something that handles dwarf2 unwinds
69 and initialization stuff better. */
70 #define DWARF2_UNWIND_INFO 0