+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
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. */
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. */