From ca4e2190ce2a33d73a933c6b5e1e015a48e64c09 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 1 Apr 1996 17:50:13 +0000 Subject: [PATCH] * 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. Minor changes suggested by Ian. --- bfd/ChangeLog | 9 +++++++++ bfd/libbfd-in.h | 5 ----- bfd/libbfd.h | 5 ----- bfd/linker.c | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 317e22115d3..88e3a24ba73 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 * elflink.h (elf_adjust_dynamic_symbol): If a common symbol got diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index 310e839d72c..bc016fbb4db 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -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 *)); diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 300f985c506..c2d3f000006 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -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 *)); diff --git a/bfd/linker.c b/bfd/linker.c index c359c923191..696d3109be8 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -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; -- 2.30.2