OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21976c6
)
* hash.c (bfd_hash_lookup): Correct stray line.
author
amodra
<amodra>
Tue, 6 Jun 2006 03:04:12 +0000
(
03:04
+0000)
committer
amodra
<amodra>
Tue, 6 Jun 2006 03:04:12 +0000
(
03:04
+0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/hash.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
55ebb6e
..
9315a7b
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
(elfcore_grok_nto_status): Use long instead of pid_t.
(elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
* elf.c (_bfd_elf_init_private_section_data): Comment typo.
(elfcore_grok_nto_status): Use long instead of pid_t.
(elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
diff --git
a/bfd/hash.c
b/bfd/hash.c
index
ed0a10d
..
3cc4f79
100644
(file)
--- a/
bfd/hash.c
+++ b/
bfd/hash.c
@@
-455,7
+455,6
@@
bfd_hash_lookup (struct bfd_hash_table *table,
if (copy)
{
char *new;
if (copy)
{
char *new;
- table->count ++;
new = objalloc_alloc ((struct objalloc *) table->memory, len + 1);
if (!new)
new = objalloc_alloc ((struct objalloc *) table->memory, len + 1);
if (!new)
@@
-470,6
+469,7
@@
bfd_hash_lookup (struct bfd_hash_table *table,
hashp->hash = hash;
hashp->next = table->table[index];
table->table[index] = hashp;
hashp->hash = hash;
hashp->next = table->table[index];
table->table[index] = hashp;
+ table->count++;
if (table->count > table->size * 3 / 4)
{
if (table->count > table->size * 3 / 4)
{