aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/freebsd-aout.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6dccbb7..43e2281 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
+
+ * 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 <jh@suse.cz>
* jump.c: Update comments.
diff --git a/gcc/config/i386/freebsd-aout.h b/gcc/config/i386/freebsd-aout.h
index 7937c54..a2c318f 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"