diff options
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.cc b/gold/output.cc index 8912c4e..8a781c5 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -3390,7 +3390,7 @@ Output_section::write_header(const Layout* layout, if (this->link_section_ != NULL) oshdr->put_sh_link(this->link_section_->out_shndx()); else if (this->should_link_to_symtab_) - oshdr->put_sh_link(layout->symtab_section()->out_shndx()); + oshdr->put_sh_link(layout->symtab_section_shndx()); else if (this->should_link_to_dynsym_) oshdr->put_sh_link(layout->dynsym_section()->out_shndx()); else |