aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
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 /gas/write.c
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.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c3
1 files changed, 2 insertions, 1 deletions
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);
}