aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-04-15 03:13:20 +0000
committerAlan Modra <amodra@gmail.com>2013-04-15 03:13:20 +0000
commita22cd6f656c2b85018e8aed08baa0864dc44304f (patch)
treefde3164d576338211c14b7cdbccfca6eb48a2055 /bfd
parentf0ac23826e47a5fa19e333d8ee0399b7e2f6b06a (diff)
downloadgdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.zip
gdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.tar.gz
gdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.tar.bz2
* archive.c (_bfd_archive_close_and_cleanup): Clear parent
cache slot for archives.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog13
-rw-r--r--bfd/archive.c2
2 files changed, 10 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5d66eca..e717f12 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
@@ -307,9 +312,9 @@
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>
diff --git a/bfd/archive.c b/bfd/archive.c
index 8cc6bf2..32b07a7 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -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;