diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 07:45:11 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 07:45:11 +0000 |
commit | 5cf09555fa888abd779addebffc86d04a6fa380d (patch) | |
tree | 02ddcb9461b677bd1054fb3c2696ae6209631e87 /gcc/toplev.c | |
parent | e2bf354451d18d0b507261faf11f06831b7f4115 (diff) | |
download | ppe42-gcc-5cf09555fa888abd779addebffc86d04a6fa380d.tar.gz ppe42-gcc-5cf09555fa888abd779addebffc86d04a6fa380d.zip |
patch from Anil Paranjpe to fix H8/300 .ident problem.
* toplev.c (compile_file): Move targetm.asm_out.file_end call to end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index faf177af55f..bdffef7a740 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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. */ |