* hash.c (bfd_hash_lookup): Correct stray line.
This commit is contained in:
parent
d3fd40746a
commit
0bef4ce538
@ -1,5 +1,7 @@
|
|||||||
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* hash.c (bfd_hash_lookup): Correct stray line.
|
||||||
|
|
||||||
* elf.c (_bfd_elf_init_private_section_data): Comment typo.
|
* elf.c (_bfd_elf_init_private_section_data): Comment typo.
|
||||||
(elfcore_grok_nto_status): Use long instead of pid_t.
|
(elfcore_grok_nto_status): Use long instead of pid_t.
|
||||||
(elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
|
(elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
|
||||||
|
@ -455,7 +455,6 @@ bfd_hash_lookup (struct bfd_hash_table *table,
|
|||||||
if (copy)
|
if (copy)
|
||||||
{
|
{
|
||||||
char *new;
|
char *new;
|
||||||
table->count ++;
|
|
||||||
|
|
||||||
new = objalloc_alloc ((struct objalloc *) table->memory, len + 1);
|
new = objalloc_alloc ((struct objalloc *) table->memory, len + 1);
|
||||||
if (!new)
|
if (!new)
|
||||||
@ -470,6 +469,7 @@ bfd_hash_lookup (struct bfd_hash_table *table,
|
|||||||
hashp->hash = hash;
|
hashp->hash = hash;
|
||||||
hashp->next = table->table[index];
|
hashp->next = table->table[index];
|
||||||
table->table[index] = hashp;
|
table->table[index] = hashp;
|
||||||
|
table->count++;
|
||||||
|
|
||||||
if (table->count > table->size * 3 / 4)
|
if (table->count > table->size * 3 / 4)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user