aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-26 05:32:05 +0000
committerAlan Modra <amodra@gmail.com>2002-07-26 05:32:05 +0000
commit7a624474eed6b18d0e49da18a20c975f1edbacfa (patch)
tree51f3a1ce26691d127b32febb3dfae1940272f5bf /bfd
parentd5cc04b1529b198bca1546b3ac9388e412674653 (diff)
downloadgdb-7a624474eed6b18d0e49da18a20c975f1edbacfa.zip
gdb-7a624474eed6b18d0e49da18a20c975f1edbacfa.tar.gz
gdb-7a624474eed6b18d0e49da18a20c975f1edbacfa.tar.bz2
* elf32-i386.c (elf_i386_link_hash_table_create): Clear
tls_ldm_got.refcount.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-i386.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7ae6591..e513afc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-26 Alan Modra <amodra@bigpond.net.au>
+
+ From John Reiser <jreiser@BitWagon.com>
+ * elf32-i386.c (elf_i386_link_hash_table_create): Clear
+ tls_ldm_got.refcount.
+
2002-07-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* elf64-mips.c: Update TODO comment.
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index f8b64d5..7f26fab 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -697,6 +697,7 @@ elf_i386_link_hash_table_create (abfd)
ret->srelplt = NULL;
ret->sdynbss = NULL;
ret->srelbss = NULL;
+ ret->tls_ldm_got.refcount = 0;
ret->sym_sec.abfd = NULL;
return &ret->elf.root;