From c82b20e4573561011a801e436bcca84cfa999113 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 5 Jun 2003 14:07:52 +0000 Subject: [PATCH] * simple.c (bfd_simple_get_relocated_section_contents): Call _bfd_generic_link_add_symbols instead of bfd_link_add_symbols. --- bfd/ChangeLog | 5 +++++ bfd/simple.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 * 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); -- 2.7.4