summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-09-18 09:17:27 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-09-18 09:17:27 +0000
commitc91039f0dc5250faef0538b9f94f0762891ba6c7 (patch)
treec5b06600614991ef38467420116cec6ab431a264
parentfef8817665d14f42c2d7f7a7b038e1b7d0a39c61 (diff)
downloadbinutils-redhat-c91039f0dc5250faef0538b9f94f0762891ba6c7.tar.gz
* simple.c (bfd_simple_get_relocated_section_contents): Use
_bfd_generic_link_hash_table_create instead of bfd_link_hash_table_create.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/simple.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2e1a2a391d..8f479ebbcf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-18 Andreas Schwab <schwab@suse.de>
+
+ * simple.c (bfd_simple_get_relocated_section_contents): Use
+ _bfd_generic_link_hash_table_create instead of
+ bfd_link_hash_table_create.
+
2003-06-20 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
diff --git a/bfd/simple.c b/bfd/simple.c
index 0042e60a3f..094c9fcac2 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -198,7 +198,7 @@ bfd_simple_get_relocated_section_contents (abfd, sec, outbuf, symbol_table)
memset (&link_info, 0, sizeof (link_info));
link_info.input_bfds = abfd;
- link_info.hash = bfd_link_hash_table_create (abfd);
+ link_info.hash = _bfd_generic_link_hash_table_create (abfd);
link_info.callbacks = &callbacks;
callbacks.warning = simple_dummy_warning;
callbacks.undefined_symbol = simple_dummy_undefined_symbol;