aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-04-14 23:29:41 +0000
committerCary Coutant <ccoutant@google.com>2011-04-14 23:29:41 +0000
commitbec5b57944f72ea8b37f1ceccec3655c6b718042 (patch)
tree39b82e2a2a72de04d19c17eab57857d56a25595a /gold/reloc.cc
parent902cc293a01e649f45869d567e957cc303e44b96 (diff)
downloadgdb-bec5b57944f72ea8b37f1ceccec3655c6b718042.zip
gdb-bec5b57944f72ea8b37f1ceccec3655c6b718042.tar.gz
gdb-bec5b57944f72ea8b37f1ceccec3655c6b718042.tar.bz2
* gold/layout.cc (Layout::symtab_section_offset): New function.
* gold/layout.h (Layout::symtab_section_offset): New function. * gold/reloc.cc (Sized_relobj::do_relocate): Call it.
Diffstat (limited to 'gold/reloc.cc')
-rw-r--r--gold/reloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc
index 7103572..c58e42b 100644
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -691,7 +691,7 @@ Sized_relobj<size, big_endian>::do_relocate(const Symbol_table* symtab,
// Write out the local symbols.
this->write_local_symbols(of, layout->sympool(), layout->dynpool(),
layout->symtab_xindex(), layout->dynsym_xindex(),
- layout->symtab_section()->offset());
+ layout->symtab_section_offset());
}
// Sort a Read_multiple vector by file offset.