diff --git a/gas/ChangeLog b/gas/ChangeLog index d318c92f09..9884c5de48 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2009-08-31 H.J. Lu + + PR gas/10570 + * write.c (write_object_file): Revert the accidental change + made in revision 1.124 on 2009-08-17. + 2009-08-31 Jan Beulich * config/obj-elf.c (obj_elf_change_section): Set default type diff --git a/gas/write.c b/gas/write.c index 4f1dc4c3d4..f6b726091e 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1894,12 +1894,13 @@ write_object_file (void) #endif bfd_map_over_sections (stdoutput, write_relocs, (char *) 0); -#ifdef tc_frob_file_after_reloc +#ifdef tc_frob_file_after_relocs tc_frob_file_after_relocs (); #endif #ifdef obj_frob_file_after_relocs obj_frob_file_after_relocs (); #endif + bfd_map_over_sections (stdoutput, write_contents, (char *) 0); }