aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-09-18 09:10:41 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-09-18 09:10:41 +0000
commit228ce0641967a78da5120ebb878e467475cbbbda (patch)
treed575f50e5551333527155e5d0b3f9a9ec8b3648c
parentae826530f3d83e7923a4d0beea55ea83fc38d5f4 (diff)
downloadgdb-228ce0641967a78da5120ebb878e467475cbbbda.zip
gdb-228ce0641967a78da5120ebb878e467475cbbbda.tar.gz
gdb-228ce0641967a78da5120ebb878e467475cbbbda.tar.bz2
* 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 a2f8f86..a7ead7e 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-09-10 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
diff --git a/bfd/simple.c b/bfd/simple.c
index c2a741c..9044c28 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -185,7 +185,7 @@ bfd_simple_get_relocated_section_contents (bfd *abfd,
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;