aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-12 00:30:59 +0000
committerIan Lance Taylor <iant@google.com>2007-09-12 00:30:59 +0000
commit31365f57aed5fff65b2e88dd8d4ed7412097ae38 (patch)
tree2fbb14391fedb1c05768377ac58bfd71067496e5 /gold/dynobj.h
parent7c9a538008218f669c9e3cdbb83f54084e35de23 (diff)
downloadfsf-binutils-gdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.zip
fsf-binutils-gdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.tar.gz
fsf-binutils-gdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.tar.bz2
Don't try to find version definition index when creating an executable.
Diffstat (limited to 'gold/dynobj.h')
-rw-r--r--gold/dynobj.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/dynobj.h b/gold/dynobj.h
index d63aa6a..7575acd 100644
--- a/gold/dynobj.h
+++ b/gold/dynobj.h
@@ -415,7 +415,8 @@ class Versions
// version section (.gnu.version).
template<int size, bool big_endian>
void
- symbol_section_contents(const Stringpool*, unsigned int local_symcount,
+ symbol_section_contents(const General_options*, const Stringpool*,
+ unsigned int local_symcount,
const std::vector<Symbol*>& syms,
unsigned char**, unsigned int*
ACCEPT_SIZE_ENDIAN) const;
@@ -455,7 +456,8 @@ class Versions
// Return the version index to use for SYM.
unsigned int
- version_index(const Stringpool*, const Symbol* sym) const;
+ version_index(const General_options*, const Stringpool*,
+ const Symbol* sym) const;
// We keep a hash table mapping canonicalized name/version pairs to
// a version base.