* archive.c (_bfd_archive_close_and_cleanup): Clear parent
authorAlan Modra <amodra@gmail.com>
Mon, 15 Apr 2013 03:13:20 +0000 (03:13 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 15 Apr 2013 03:13:20 +0000 (03:13 +0000)
cache slot for archives.

bfd/ChangeLog
bfd/archive.c

index 5d66ecac2737ec3958455bffaa96b24d3eb5f7f8..e717f12e43f8f75935803ec1fae871f47a3108fb 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-15  Alan Modra  <amodra@gmail.com>
+
+       * archive.c (_bfd_archive_close_and_cleanup): Clear parent
+       cache slot for archives.
+
 2013-04-14  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * mmo.c (mmo_write_chunk): Break out abfd->tdata.mmo_data to new
@@ -41,8 +46,8 @@
 
 2013-04-03   Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
 
-         * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use
-        elf64_aarch64_locals to get local GOT reference counts.
+       * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use
+       elf64_aarch64_locals to get local GOT reference counts.
 
 2013-04-02  DJ Delorie  <dj@redhat.com>
 
 
 2013-03-08  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
 
-        * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section
+       * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section
        support.
-        (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related
+       (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related
        relocs.
 
 2013-03-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
index 8cc6bf2a27ef904ceb7e6cef55008959b903bd19..32b07a718a2b9825c41885572dbd544d6803c16f 100644 (file)
@@ -2732,7 +2732,7 @@ _bfd_archive_close_and_cleanup (bfd *abfd)
          bfd_ardata (abfd)->cache = NULL;
        }
     }
-  else if (arch_eltdata (abfd) != NULL)
+  if (arch_eltdata (abfd) != NULL)
     {
       struct areltdata *ared = arch_eltdata (abfd);
       htab_t htab = (htab_t) ared->parent_cache;