small final.c patch

Dan Nicolaescu dann@godzilla.ics.uci.edu
Tue Feb 23 01:07:00 GMT 1999


Hi!

This patch fixes an off by one error in final.c: end_final

A comment in that function says: 
      /* Output the main header, of 11 words:
	[....]

Tue Feb 23 00:57:16 1999  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>

	* final.c (end_final): There are 11 words in this structure, not
	10. 

*** final.c.orig	Tue Feb 23 00:56:15 1999
--- final.c	Tue Feb 23 00:57:10 1999
*************** end_final (filename)
*** 413,419 ****
  	assemble_integer (const0_rtx, pointer_bytes, 1);
  
        /* byte count for extended structure.  */
!       assemble_integer (GEN_INT (10 * UNITS_PER_WORD), long_bytes, 1);
  
        /* address of function name table */
        if (profile_block_flag)
--- 413,419 ----
  	assemble_integer (const0_rtx, pointer_bytes, 1);
  
        /* byte count for extended structure.  */
!       assemble_integer (GEN_INT (11 * UNITS_PER_WORD), long_bytes, 1);
  
        /* address of function name table */
        if (profile_block_flag)



More information about the Gcc-patches mailing list