* 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.
This commit is contained in:
Cary Coutant
2011-04-14 23:29:41 +00:00
parent 902cc293a0
commit bec5b57944
4 changed files with 21 additions and 1 deletions

View File

@@ -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.