aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-07-22 21:15:45 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-07-22 21:15:45 +0000
commitbad1f214eb0ef96ceaf055f034fe3b3fcef15283 (patch)
treefc91e5d2068032d7f0f9cc14c193cb1c5f26020a
parent0045d504351e0aa05f1463820b0b86933ba14849 (diff)
downloadgcc-bad1f214eb0ef96ceaf055f034fe3b3fcef15283.zip
gcc-bad1f214eb0ef96ceaf055f034fe3b3fcef15283.tar.gz
gcc-bad1f214eb0ef96ceaf055f034fe3b3fcef15283.tar.bz2
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
-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"