Adapt NetBSD/i386 configuration to egcs changes wrt. TARGET_DEFAULT. This
should make it stop outputting i387 instructions that the emulator can't handle.
This commit is contained in:
parent
39fce9ba9d
commit
f7ca917a98
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in New Issue