summaryrefslogtreecommitdiffstats
path: root/gold/layout.h
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/layout.h
parent902cc293a01e649f45869d567e957cc303e44b96 (diff)
downloadppe42-binutils-bec5b57944f72ea8b37f1ceccec3655c6b718042.tar.gz
ppe42-binutils-bec5b57944f72ea8b37f1ceccec3655c6b718042.zip
* 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/layout.h')
-rw-r--r--gold/layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 917856e2be..907181f0a3 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -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
OpenPOWER on IntegriCloud