summaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
authorPhil Blundell <pb@futuretv.com>2000-11-27 12:45:17 +0000
committerPhil Blundell <pb@futuretv.com>2000-11-27 12:45:17 +0000
commit8fe2669ccf53f73b20109a14edce14cf70ebfb93 (patch)
treee4cdba944873dc6fd94f6f51d92247021c596936 /bfd/cofflink.c
parent58790f5bf25159ebf3a56acac1d75b745fc61b83 (diff)
downloadgdb-8fe2669ccf53f73b20109a14edce14cf70ebfb93.tar.gz
2000-11-27 Philip Blundell <pb@futuretv.com>
* libcoff-in.h (coff_tdata): Add `strings_written' flag. (obj_coff_strings_written): New accessor macro for above. * libcoff.h: Regenerate. * cofflink.c (_bfd_coff_final_link): Say that we wrote the strings. * coffcode.h (coff_write_object_contents): No need to write out the string table if it's already been done.
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r--bfd/cofflink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index 05c0689ea94..4e16f6400e5 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -1102,6 +1102,8 @@ _bfd_coff_final_link (abfd, info)
if (! _bfd_stringtab_emit (abfd, finfo.strtab))
return false;
+
+ obj_coff_strings_written (abfd) = true;
}
_bfd_stringtab_free (finfo.strtab);