diff options
author | Phil Blundell <pb@futuretv.com> | 2000-11-27 12:45:17 +0000 |
---|---|---|
committer | Phil Blundell <pb@futuretv.com> | 2000-11-27 12:45:17 +0000 |
commit | 8fe2669ccf53f73b20109a14edce14cf70ebfb93 (patch) | |
tree | e4cdba944873dc6fd94f6f51d92247021c596936 /bfd/libcoff-in.h | |
parent | 58790f5bf25159ebf3a56acac1d75b745fc61b83 (diff) | |
download | gdb-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/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 3fae93cf866..544e9e12f8d 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; |