From d71f672e69df99902fc4b76c2d6c4dd75640e22d Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 27 Nov 2000 12:45:17 +0000 Subject: 2000-11-27 Philip Blundell * 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. --- bfd/cofflink.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/cofflink.c') diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 05c0689..4e16f64 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); -- cgit v1.1