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 <[EMAIL PROTECTED]> -----
Date: 3 Nov 1999 17:13:39 -0500
From: Ian Lance Taylor <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
In-reply-to: <[EMAIL PROTECTED]> (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: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Sender: [email protected]
Date: Wed, 3 Nov 1999 21:44:17 +0100
From: Florian Lohoff <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] +49-5241-470566
... The failure can be random; however, when it does occur, it is
catastrophic and is repeatable ... Cisco Field Notice