1 #define TARGET_OS_CPP_BUILTINS() \ 2 do \ 3 { \ 4 NETBSD_OS_CPP_BUILTINS_AOUT(); \ 5 builtin_define_std ("sparc"); \ 6 builtin_assert ("cpu=sparc"); \ 7 builtin_assert ("machine=sparc"); \ 8 } \ 9 while (0) 10 11 /* Make sure this is undefined. */ 12 #undef CPP_PREDEFINES 13 14 /* What extra spec entries do we need? */ 15 #undef SUBTARGET_EXTRA_SPECS 16 #define SUBTARGET_EXTRA_SPECS \ 17 { "netbsd_cpp_spec", NETBSD_CPP_SPEC }, 18 19 #undef CPP_SPEC 20 #define CPP_SPEC "%(cpp_cpu) %(netbsd_cpp_spec)" 21 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 /* This is BSD, so it wants DBX format. */ 31 32 #define DBX_DEBUGGING_INFO 1 33 34 /* This is the char to use for continuation (in case we need to turn 35 continuation back on). */ 36 37 #define DBX_CONTIN_CHAR '?' 38 39 /* Don't default to pcc-struct-return, because gcc is the only compiler, and 40 we want to retain compatibility with older gcc versions. */ 41 #undef DEFAULT_PCC_STRUCT_RETURN 42 #define DEFAULT_PCC_STRUCT_RETURN 0 43 44 /* Until they use ELF or something that handles dwarf2 unwinds 45 and initialization stuff better. */ 46 #define DWARF2_UNWIND_INFO 0 47 48 /* Attempt to enable execute permissions on the stack. */ 49 #define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK 50