Commit 57bef48e by Anil Paranjpe Committed by Jim Wilson

patch from Anil Paranjpe to fix H8/300 .ident problem.

	* toplev.c (compile_file): Move targetm.asm_out.file_end call to end.

From-SVN: r80885
parent 169304de
2004-04-20 Anil Paranjpe   <anilp1@kpitcummins.com>
* toplev.c (compile_file): Move targetm.asm_out.file_end call to end.
2004-04-20 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (mips_legitimize_move): Generate special patterns
......
......@@ -1633,8 +1633,6 @@ compile_file (void)
dw2_output_indirect_constants ();
targetm.asm_out.file_end ();
/* Attach a special .ident directive to the end of the file to identify
the version of GCC which compiled this code. The format of the .ident
string is patterned after the ones produced by native SVR4 compilers. */
......@@ -1643,6 +1641,11 @@ compile_file (void)
fprintf (asm_out_file, "%s\"GCC: (GNU) %s\"\n",
IDENT_ASM_OP, version_string);
#endif
/* This must be at the end. Some target ports emit end of file directives
into the assembly file here, and hence we can not output anything to the
assembly file after this point. */
targetm.asm_out.file_end ();
}
/* Display help for target options. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment