Re: Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.
Hi,
small note - I tried to compile an egcs and failed with binutils 2.8.1
and binutils 2.9 (CVS 991025) ... Here is a fix ...
It seems the binutils guys are quiet responsive :)
Flo
----- Forwarded message from Ian Lance Taylor <ian@zembu.com> -----
Date: 3 Nov 1999 17:13:39 -0500
From: Ian Lance Taylor <ian@zembu.com>
To: flo@rfc822.org
Cc: binutils@sourceware.cygnus.com
In-reply-to: <19991103214417.A594@paradigm.rfc822.org> (message from Florian
Lohoff on Wed, 3 Nov 1999 21:44:17 +0100)
Subject: Re: Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.
References: <19991103195212.C3015@paradigm.rfc822.org> <19991103190953.10679.qmail@daffy.airs.com> <19991103214417.A594@paradigm.rfc822.org>
Sender: ian@airs.com
Date: Wed, 3 Nov 1999 21:44:17 +0100
From: Florian Lohoff <flo@rfc822.org>
I put up the main.s under ftp://ftp.rfc822.org/pub/local/binutils/main.s
for the interested ...
Thanks for the test case. I just checked in the appended patch, which
appears to fix the problem.
Ian
Index: config/obj-elf.c
===================================================================
RCS file: /cvs/binutils/binutils/gas/config/obj-elf.c,v
retrieving revision 1.9
diff -u -p -r1.9 obj-elf.c
--- obj-elf.c 1999/07/11 20:20:03 1.9
+++ obj-elf.c 1999/11/03 22:11:36
@@ -1373,6 +1373,10 @@ obj_elf_ident (ignore)
segT old_section = now_seg;
int old_subsection = now_subseg;
+#ifdef md_flush_pending_output
+ md_flush_pending_output ();
+#endif
+
if (!comment_section)
{
char *p;
----- End forwarded message -----
Flo
--
Florian Lohoff flo@rfc822.org +49-5241-470566
... The failure can be random; however, when it does occur, it is
catastrophic and is repeatable ... Cisco Field Notice
Reply to: