1 /* This goes away when the math-emulator is fixed */
2 #define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */
4 /* This is tested by i386gas.h. */
5 #define YES_UNDERSCORES
7 #include <i386/gstabs.h>
9 /* Get perform_* macros to build libgcc.a. */
10 #include <i386/perform.h>
12 /* Get generic NetBSD definitions. */
16 #define CPP_PREDEFINES "-Dunix -Di386 -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386)"
19 #define SIZE_TYPE "unsigned int"
22 #define PTRDIFF_TYPE "int"
25 #define WCHAR_TYPE "int"
28 #define WCHAR_UNSIGNED 0
30 #undef WCHAR_TYPE_SIZE
31 #define WCHAR_TYPE_SIZE 32
33 #define HANDLE_SYSV_PRAGMA
35 /* There are conflicting reports about whether this system uses
36 a different assembler syntax. wilson@cygnus.com says # is right. */
38 #define COMMENT_BEGIN "#"
41 #define ASM_APP_ON "#APP\n"
44 #define ASM_APP_OFF "#NO_APP\n"
46 /* The following macros are stolen from i386v4.h */
47 /* These have to be defined to get PIC code correct */
49 /* This is how to output an element of a case-vector that is relative.
50 This is only used for PIC code. See comments by the `casesi' insn in
51 i386.md for an explanation of the expression this outputs. */
53 #undef ASM_OUTPUT_ADDR_DIFF_ELT
54 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
55 fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE)
57 /* Indicate that jump tables go in the text section. This is
58 necessary when compiling PIC code. */
60 #define JUMP_TABLES_IN_TEXT_SECTION
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
66 /* Profiling routines, partially copied from i386/osfrose.h. */
68 /* Redefine this to use %eax instead of %edx. */
69 #undef FUNCTION_PROFILER
70 #define FUNCTION_PROFILER(FILE, LABELNO) \
74 fprintf (FILE, "\tcall mcount@PLT\n"); \
78 fprintf (FILE, "\tcall mcount\n"); \