diff options
author | Alan Modra <amodra@gmail.com> | 2023-04-20 12:14:09 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-04-21 11:51:06 +0930 |
commit | 3bc69c18671c762f7412ceaae8c9c6a225bc81bc (patch) | |
tree | f358dc523f041e4124a7b4cdd2edbec710d3bffc /bfd/coff-rs6000.c | |
parent | 0014c67d3bc3030af2d98be90c21e6ac1b15c6d8 (diff) | |
download | fsf-binutils-gdb-3bc69c18671c762f7412ceaae8c9c6a225bc81bc.zip fsf-binutils-gdb-3bc69c18671c762f7412ceaae8c9c6a225bc81bc.tar.gz fsf-binutils-gdb-3bc69c18671c762f7412ceaae8c9c6a225bc81bc.tar.bz2 |
Delete struct artdata archive_head
This element is unused. Ideally we'd be moving archive_head and
other archive specific fields from struct bfd to here, but that's a
much larger change than this little bit of cleanup.
* libbfd-in.h (struct artdata): Delete archive_head.
* libbfd.h: Regenerate.
* archive.c,
* coff-rs6000.c,
* coff64-rs6000.c: Delete comments mentioning artdata archive_head.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 6c4e32c..5ea06fa 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -1527,13 +1527,6 @@ _bfd_xcoff_archive_p (bfd *abfd) if (bfd_ardata (abfd) == (struct artdata *) NULL) goto error_ret_restore; - /* Cleared by bfd_zalloc above. - bfd_ardata (abfd)->cache = NULL; - bfd_ardata (abfd)->archive_head = NULL; - bfd_ardata (abfd)->symdefs = NULL; - bfd_ardata (abfd)->extended_names = NULL; - bfd_ardata (abfd)->extended_names_size = 0; */ - /* Now handle the two formats. */ if (magic[1] != 'b') { |