From: Alexandre Oliva Date: Sun, 22 Jul 2001 21:15:45 +0000 (+0000) Subject: freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use the definition in defaults.h. X-Git-Tag: prereleases/libstdc++-3.0.95~3128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad1f214eb0ef96ceaf055f034fe3b3fcef15283;p=thirdparty%2Fgcc.git freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use the definition in defaults.h. * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use the definition in defaults.h. From-SVN: r44247 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6dccbb7f3a46..43e22813ca61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 22 17:55:11 2001 Alexandre Oliva + + * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use + the definition in defaults.h. + Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka * jump.c: Update comments. diff --git a/gcc/config/i386/freebsd-aout.h b/gcc/config/i386/freebsd-aout.h index 7937c54f54f8..a2c318f03678 100644 --- a/gcc/config/i386/freebsd-aout.h +++ b/gcc/config/i386/freebsd-aout.h @@ -34,6 +34,13 @@ Boston, MA 02111-1307, USA. */ #define TARGET_SUBTARGET_DEFAULT \ (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387) +/* The macro defined in i386.h doesn't work with the old gas of + FreeBSD 2.x. The definition in sco.h and sol2.h appears to work, + but it turns out that, even though the assembler doesn't complain, + we get incorrect results. Fortunately, the definition in + defaults.h works. */ +#undef ASM_PREFERRED_EH_DATA_FORMAT + #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -D__FreeBSD__\ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"