diff options
author | Anil Paranjpe <anilp1@kpitcummins.com> | 2004-04-20 00:45:11 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2004-04-20 00:45:11 -0700 |
commit | 57bef48ec5d1e635f0dd2397904f6ce4f91a640c (patch) | |
tree | 02ddcb9461b677bd1054fb3c2696ae6209631e87 | |
parent | 169304de7bea9c4f303ec981b889f090366a1538 (diff) | |
download | gcc-57bef48ec5d1e635f0dd2397904f6ce4f91a640c.zip gcc-57bef48ec5d1e635f0dd2397904f6ce4f91a640c.tar.gz gcc-57bef48ec5d1e635f0dd2397904f6ce4f91a640c.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/toplev.c | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4742f4d..14134e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/gcc/toplev.c b/gcc/toplev.c index faf177a..bdffef7 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. */ |