diff options
author | Cary Coutant <ccoutant@google.com> | 2010-09-15 18:10:31 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2010-09-15 18:10:31 +0000 |
commit | 793990de5350074c08a2c921f29b12ff0a97d77d (patch) | |
tree | 2dad8aee9cdca5452c4ed6e6d853586b6cee0019 /gold/incremental.cc | |
parent | 81e015e20a0dc8fda7af87c646b85c7a1f2083b6 (diff) | |
download | gdb-793990de5350074c08a2c921f29b12ff0a97d77d.zip gdb-793990de5350074c08a2c921f29b12ff0a97d77d.tar.gz gdb-793990de5350074c08a2c921f29b12ff0a97d77d.tar.bz2 |
* incremental.cc (Output_section_incremental_inputs::write_info_blocks):
Resolve forwarding symbols.
Diffstat (limited to 'gold/incremental.cc')
-rw-r--r-- | gold/incremental.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |