summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-06-05 14:07:52 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-06-05 14:07:52 +0000
commitae5fe690900f463dbf594681802f25c8d8016ba2 (patch)
tree75aa0ba9dd8f514bebbe109b4916c112e9ebbf90 /bfd
parent66929877d9a0310ef2b28dd54b3f2ea2f8ae2096 (diff)
downloadbinutils-redhat-ae5fe690900f463dbf594681802f25c8d8016ba2.tar.gz
* simple.c (bfd_simple_get_relocated_section_contents): Call
_bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
Diffstat (limited to 'bfd')
-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 1d630a3b09..4b54cc23b8 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 a247f1153b..0042e60a3f 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);