From bad1f214eb0ef96ceaf055f034fe3b3fcef15283 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 22 Jul 2001 21:15:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/freebsd-aout.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6dccbb7f3a4..43e22813ca6 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 7937c54f54f..a2c318f0367 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" -- 2.30.2