aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/write.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d318c92..9884c5d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ 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 <jbeulich@novell.com>
* config/obj-elf.c (obj_elf_change_section): Set default type
diff --git a/gas/write.c b/gas/write.c
index 4f1dc4c..f6b7260 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);
}