aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-05 14:07:52 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-05 14:07:52 +0000
commitc82b20e4573561011a801e436bcca84cfa999113 (patch)
tree2ec153b4c8d562db66d6db73afcd7657cdd62701
parent2be24b54a9ec257e8f0f5035e1bf66ceb6a517ad (diff)
downloadgdb-c82b20e4573561011a801e436bcca84cfa999113.zip
gdb-c82b20e4573561011a801e436bcca84cfa999113.tar.gz
gdb-c82b20e4573561011a801e436bcca84cfa999113.tar.bz2
* simple.c (bfd_simple_get_relocated_section_contents): Call
_bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/simple.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1d630a3..4b54cc2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * simple.c (bfd_simple_get_relocated_section_contents): Call
+ _bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
+
2003-06-04 Svein E. Seldal <Svein.Seldal@solidas.com>
* coff-tic54x.c: Removed the ticoff0_bad_format_hook() and
diff --git a/bfd/simple.c b/bfd/simple.c
index a247f11..0042e60 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -243,7 +243,7 @@ bfd_simple_get_relocated_section_contents (abfd, sec, outbuf, symbol_table)
if (symbol_table == NULL)
{
- bfd_link_add_symbols (abfd, &link_info);
+ _bfd_generic_link_add_symbols (abfd, &link_info);
storage_needed = bfd_get_symtab_upper_bound (abfd);
symbol_table = (asymbol **) bfd_malloc (storage_needed);