aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-26 03:53:07 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-26 03:53:23 -0700
commitd5486c43728b4fa17c111a301c30a1e072eaec6a (patch)
tree96cb133ef999247bd33465209ac67f2e90acaeed /bfd/ChangeLog
parent3283f4fb4c772f21d2c5f0091569ffcfc7eb6dec (diff)
downloadgdb-d5486c43728b4fa17c111a301c30a1e072eaec6a.zip
gdb-d5486c43728b4fa17c111a301c30a1e072eaec6a.tar.gz
gdb-d5486c43728b4fa17c111a301c30a1e072eaec6a.tar.bz2
Always count the NULL entry in dynamic symbol table
There is an unused NULL entry at the head of dynamic symbol table which we must account for in our count even if the table is empty or unused since it is intended for the mandatory DT_SYMTAB tag (.dynsym section) in .dynamic section. * elf-bfd.h (elf_link_hash_table): Update comments for dynsymcount. * elflink.c (_bfd_elf_link_renumber_dynsyms): Always count for the unused NULL entry at the head of dynamic symbol table. (bfd_elf_size_dynsym_hash_dynstr): Remove dynsymcount != 0 checks.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a8a29bd..746adad 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2016-04-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf-bfd.h (elf_link_hash_table): Update comments for
+ dynsymcount.
+ * elflink.c (_bfd_elf_link_renumber_dynsyms): Always count for
+ the unused NULL entry at the head of dynamic symbol table.
+ (bfd_elf_size_dynsym_hash_dynstr): Remove dynsymcount != 0
+ checks.
+
2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_link_create_dynstrtab): Exclude linker