From: Cary Coutant Date: Wed, 15 Sep 2010 18:10:31 +0000 (+0000) Subject: * incremental.cc (Output_section_incremental_inputs::write_info_blocks): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=793990de5350074c08a2c921f29b12ff0a97d77d;p=binutils-gdb.git * incremental.cc (Output_section_incremental_inputs::write_info_blocks): Resolve forwarding symbols. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 4286d4bc35f..be2bb578d3f 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-09-15 Cary Coutant + + * incremental.cc (Output_section_incremental_inputs::write_info_blocks): + Resolve forwarding symbols. + 2010-09-15 Doug Kwan * gold/testsuite/script_test_3.t: Add ARM special sections. diff --git a/gold/incremental.cc b/gold/incremental.cc index 6a98ca240da..0bd869e8df9 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -873,6 +873,8 @@ Output_section_incremental_inputs::write_info_blocks( for (unsigned int i = 0; i < nsyms; i++) { const Symbol* sym = (*syms)[i]; + if (sym->is_forwarder()) + sym = this->symtab_->resolve_forwards(sym); unsigned int symtab_index = sym->symtab_index(); unsigned int chain = 0; unsigned int first_reloc = 0;