aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-08-31 18:45:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-08-31 18:45:26 +0000
commitf1c2d4afbe03f4303f200ba418a446da410cba17 (patch)
tree065bd14f88e4c945b334bd845a1e6251ea8b8dc8
parenta69e7d0a1ed67995bbed58fde29d7cf1f9f30d83 (diff)
downloadgdb-f1c2d4afbe03f4303f200ba418a446da410cba17.zip
gdb-f1c2d4afbe03f4303f200ba418a446da410cba17.tar.gz
gdb-f1c2d4afbe03f4303f200ba418a446da410cba17.tar.bz2
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.
-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);
}