+2005-07-30 David Daney <ddaney@avtrex.com>
+
+ * elflink.c (elf_gc_sweep): Set dynsymcount to correct value.
+
2005-07-29 David Daney <ddaney@avtrex.com>
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp
elf_link_hash_traverse (elf_hash_table (info), elf_gc_sweep_symbol, &i);
+ /* There is an unused NULL entry at the head of the table which
+ we must account for in our count. Unless there weren't any
+ symbols, which means we'll have no table at all. */
+ if (i != 0)
+ ++i;
+
elf_hash_table (info)->dynsymcount = i;
}