diff options
author | Jeff Law <law@redhat.com> | 1996-04-01 17:50:13 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-04-01 17:50:13 +0000 |
commit | ca4e2190ce2a33d73a933c6b5e1e015a48e64c09 (patch) | |
tree | 7127ed873f3e304c3696061d01a6972f36749882 | |
parent | ce6a77318320c19cc5014c9cef0fdfa1289d1649 (diff) | |
download | gdb-ca4e2190ce2a33d73a933c6b5e1e015a48e64c09.zip gdb-ca4e2190ce2a33d73a933c6b5e1e015a48e64c09.tar.gz gdb-ca4e2190ce2a33d73a933c6b5e1e015a48e64c09.tar.bz2 |
* 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.
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/libbfd-in.h | 5 | ||||
-rw-r--r-- | bfd/libbfd.h | 5 | ||||
-rw-r--r-- | bfd/linker.c | 4 |
4 files changed, 11 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 317e221..88e3a24 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 <ian@cygnus.com> * elflink.h (elf_adjust_dynamic_symbol): If a common symbol got diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index 310e839..bc016fb 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 300f985..c2d3f00 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 c359c92..696d310 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; |