* linker.c (_bfd_generic_link_hash_newfunc): Renamed from
authorJeff Law <law@redhat.com>
Mon, 1 Apr 1996 17:50:13 +0000 (17:50 +0000)
committerJeff Law <law@redhat.com>
Mon, 1 Apr 1996 17:50:13 +0000 (17:50 +0000)
        generic_link_hash_newfunc.  All references changed.
        * genlink.h (_bfd_generic_link_hash_newfunc): Declaration
        moved here from libbfd-in.h.
        * libbfd-in.h: Corresponding changes.
        * libbfd.h: Regenerated.
Minor changes suggested by Ian.

bfd/ChangeLog
bfd/libbfd-in.h
bfd/libbfd.h
bfd/linker.c

index 317e221..88e3a24 100644 (file)
@@ -1,3 +1,12 @@
+Mon Apr  1 10:39:24 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * linker.c (_bfd_generic_link_hash_newfunc): Renamed from
+       generic_link_hash_newfunc.  All references changed.
+       * genlink.h (_bfd_generic_link_hash_newfunc): Declaration
+       moved here from libbfd-in.h.
+       * libbfd-in.h: Corresponding changes.
+       * libbfd.h: Regenerated.
+
 Mon Apr  1 12:35:36 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * elflink.h (elf_adjust_dynamic_symbol): If a common symbol got
index 310e839..bc016fb 100644 (file)
@@ -369,11 +369,6 @@ extern boolean _bfd_link_hash_table_init
 extern struct bfd_link_hash_table *_bfd_generic_link_hash_table_create
   PARAMS ((bfd *));
 
-/* Generic link hash table entry creation routine.  */
-struct bfd_hash_entry *generic_link_hash_newfunc
-  PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *,
-           const char *));
-
 /* Generic add symbol routine.  */
 extern boolean _bfd_generic_link_add_symbols
   PARAMS ((bfd *, struct bfd_link_info *));
index 300f985..c2d3f00 100644 (file)
@@ -369,11 +369,6 @@ extern boolean _bfd_link_hash_table_init
 extern struct bfd_link_hash_table *_bfd_generic_link_hash_table_create
   PARAMS ((bfd *));
 
-/* Generic link hash table entry creation routine.  */
-struct bfd_hash_entry *generic_link_hash_newfunc
-  PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *,
-           const char *));
-
 /* Generic add symbol routine.  */
 extern boolean _bfd_generic_link_add_symbols
   PARAMS ((bfd *, struct bfd_link_info *));
index c359c92..696d310 100644 (file)
@@ -631,7 +631,7 @@ bfd_link_add_undef (table, h)
 /* Routine to create an entry in an generic link hash table.  */
 
 struct bfd_hash_entry *
-generic_link_hash_newfunc (entry, table, string)
+_bfd_generic_link_hash_newfunc (entry, table, string)
      struct bfd_hash_entry *entry;
      struct bfd_hash_table *table;
      const char *string;
@@ -675,7 +675,7 @@ _bfd_generic_link_hash_table_create (abfd)
   if (ret == NULL)
     return (struct bfd_link_hash_table *) NULL;
   if (! _bfd_link_hash_table_init (&ret->root, abfd,
-                                  generic_link_hash_newfunc))
+                                  _bfd_generic_link_hash_newfunc))
     {
       free (ret);
       return (struct bfd_link_hash_table *) NULL;