* bfd-in.h (bfd_hash_insert): Declare.
[deliverable/binutils-gdb.git] / bfd / merge.c
index 2e805c770e3e6314c3a1065cac037fc01f37bc66..32994c3cba8c3084bf02390518e640db046fd5fc 100644 (file)
@@ -220,16 +220,11 @@ sec_merge_hash_lookup (struct sec_merge_hash *table, const char *string,
     return NULL;
 
   hashp = ((struct sec_merge_hash_entry *)
-          sec_merge_hash_newfunc (NULL, &table->table, string));
+          bfd_hash_insert (&table->table, string, hash));
   if (hashp == NULL)
     return NULL;
-  hashp->root.string = string;
-  hashp->root.hash = hash;
   hashp->len = len;
   hashp->alignment = alignment;
-  hashp->root.next = table->table.table[index];
-  table->table.table[index] = (struct bfd_hash_entry *) hashp;
-
   return hashp;
 }
 
This page took 0.037317 seconds and 4 git commands to generate.