diff options
| author | fvdl <fvdl@NetBSD.org> | 1999-04-01 21:15:43 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 1999-04-01 21:15:43 +0000 |
| commit | f7ca917a9860e96edbd1e50f84ec30da0edf139e (patch) | |
| tree | 2429f595f1e0b9c9052abb3be459c196391dde17 /gnu | |
| parent | 39fce9ba9df7d3f7388222e4fad7018ea617a496 (diff) | |
Adapt NetBSD/i386 configuration to egcs changes wrt. TARGET_DEFAULT. This
should make it stop outputting i387 instructions that the emulator can't
handle.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc/config/i386/netbsd.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/dist/gcc/config/i386/netbsd.h b/gnu/dist/gcc/config/i386/netbsd.h index eb442741dbf..591e9c1dcf3 100644 --- a/gnu/dist/gcc/config/i386/netbsd.h +++ b/gnu/dist/gcc/config/i386/netbsd.h @@ -1,6 +1,3 @@ -/* This goes away when the math-emulator is fixed */ -#define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */ - /* This is tested by i386gas.h. */ #define YES_UNDERSCORES @@ -12,6 +9,11 @@ /* Get generic NetBSD definitions. */ #include <netbsd.h> +/* This goes away when the math-emulator is fixed */ +#undef TARGET_DEFAULT +#define TARGET_DEFAULT \ + (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387) + #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Di386 -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386)" |
