mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* incremental.cc (Output_section_incremental_inputs::write_info_blocks):
Resolve forwarding symbols.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user