This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.
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;