Disable "fancy math" the correct way (it's TARGET_DEFAULT that is used
for that kind of flags -- the TARGET_CPU_DEFAULT is used to choose the cpu type to generate code for...) Fixes PR 10357.
This commit is contained in:
parent
8401bbdeaa
commit
4c7e15910e
8
gnu/dist/gcc/config/i386/netbsd-elf.h
vendored
8
gnu/dist/gcc/config/i386/netbsd-elf.h
vendored
@ -24,9 +24,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
/* Get generic i386 definitions. */
|
||||
|
||||
/* This goes away when the math-emulator is fixed */
|
||||
#define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */
|
||||
|
||||
#include <i386/gstabs.h>
|
||||
|
||||
/* Get perform_* macros to build libgcc.a. */
|
||||
@ -39,6 +36,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#define OBJECT_FORMAT_ELF
|
||||
|
||||
/* 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)
|
||||
|
||||
/*
|
||||
* DBX stabs definitions. Same as Solaris and other i386 ELF platforms.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user