diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-21 07:20:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-21 07:20:01 +0000 |
commit | 7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b (patch) | |
tree | 8e9869d1fd6febfdfdc5e754ba12f36e899d9bb2 /gold/symtab.h | |
parent | be9d5a933eb75809b583dc29bc7deb7690954d12 (diff) | |
download | gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.zip gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.gz gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.bz2 |
Add global parameters.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index 534ee0d..31a656e 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -8,6 +8,7 @@ #include <vector> #include "elfcpp.h" +#include "parameters.h" #include "stringpool.h" #include "object.h" @@ -305,9 +306,9 @@ class Symbol // Return true if the final value of this symbol is known at link // time. bool - final_value_is_known(const General_options* options) const + final_value_is_known() const { - if (options->is_shared()) + if (parameters->output_is_shared()) return false; return this->source_ != FROM_OBJECT || !this->object()->is_dynamic(); } |