* 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

@@ -685,6 +685,10 @@ class Layout
return this->symtab_section_;
}
// Return the file offset of the normal symbol table.
off_t
symtab_section_offset() const;
// Return the dynamic symbol table.
Output_section*
dynsym_section() const