diff options
author | Phil Blundell <philb@gnu.org> | 2000-11-27 12:45:17 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2000-11-27 12:45:17 +0000 |
commit | d71f672e69df99902fc4b76c2d6c4dd75640e22d (patch) | |
tree | 66e980865705b4f165d9bb7bc9b3b7407c97e533 /bfd/libcoff-in.h | |
parent | bc7a577dc7781416ff8a6e8ea295c7999e1673a9 (diff) | |
download | gdb-d71f672e69df99902fc4b76c2d6c4dd75640e22d.zip gdb-d71f672e69df99902fc4b76c2d6c4dd75640e22d.tar.gz gdb-d71f672e69df99902fc4b76c2d6c4dd75640e22d.tar.bz2 |
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/libcoff-in.h')
-rw-r--r-- | bfd/libcoff-in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index 3fae93c..544e9e1 100644 --- a/bfd/libcoff-in.h +++ b/bfd/libcoff-in.h @@ -43,6 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define obj_coff_strings(bfd) (coff_data (bfd)->strings) #define obj_coff_keep_strings(bfd) (coff_data (bfd)->keep_strings) #define obj_coff_sym_hashes(bfd) (coff_data (bfd)->sym_hashes) +#define obj_coff_strings_written(bfd) (coff_data (bfd)->strings_written) #define obj_coff_local_toc_table(bfd) (coff_data(bfd)->local_toc_sym_map) @@ -83,6 +84,8 @@ typedef struct coff_tdata char *strings; /* If this is true, the strings may not be freed. */ boolean keep_strings; + /* If this is true, the strings have been written out already. */ + boolean strings_written; /* is this a PE format coff file */ int pe; |