diff options
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/incremental.cc | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 4286d4b..be2bb57 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-09-15 Cary Coutant <ccoutant@google.com> + + * incremental.cc (Output_section_incremental_inputs::write_info_blocks): + Resolve forwarding symbols. + 2010-09-15 Doug Kwan <dougkwan@google.com> * gold/testsuite/script_test_3.t: Add ARM special sections. diff --git a/gold/incremental.cc b/gold/incremental.cc index 6a98ca2..0bd869e 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -873,6 +873,8 @@ Output_section_incremental_inputs<size, big_endian>::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; |