This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
md_flush_pending_output
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 16 Apr 2004 16:31:53 +0100
- Subject: md_flush_pending_output
- Organization: Codesourcery LLC
Hi,
I noticed that do_align does not call md_flush_pending_output, inspite of
what the documentation says. This patch fixes that, ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2004-04-16 Nathan Sidwell <nathan@codesourcery.com>
* read.c (do_align): Call md_flush_pending_output, if defined.
Index: read.c
===================================================================
RCS file: /cvs/src/src/gas/read.c,v
retrieving revision 1.77
diff -c -3 -p -r1.77 read.c
*** read.c 18 Mar 2004 13:31:02 -0000 1.77
--- read.c 16 Apr 2004 15:27:30 -0000
*************** do_align (int n, char *fill, int len, in
*** 1155,1160 ****
--- 1155,1163 ----
len = 0;
}
+ #ifdef md_flush_pending_output
+ md_flush_pending_output ();
+ #endif
#ifdef md_do_align
md_do_align (n, fill, len, max, just_record_alignment);
#endif