aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
committerIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
commit45aa233bdcc27243a2b3e2c699ad0ab59f83901b (patch)
tree7483af747e28433511eaa64b11233b19473b89c9 /gold/parameters.h
parent58abc3ebf63249755146ba6a811ad909732641b1 (diff)
downloadfsf-binutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.zip
fsf-binutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.gz
fsf-binutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.bz2
From Craig Silverstein: rename option functions for future option
handling rewrite.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r--gold/parameters.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/parameters.h b/gold/parameters.h
index 67ce1e6..3bf6c50 100644
--- a/gold/parameters.h
+++ b/gold/parameters.h
@@ -146,7 +146,7 @@ class Parameters
// Whether we are doing a symbolic link, in which all defined
// symbols are bound locally.
bool
- symbolic() const
+ Bsymbolic() const
{
gold_assert(this->options_valid_);
return this->symbolic_;
@@ -165,9 +165,9 @@ class Parameters
return this->detect_odr_violations_;
}
- // The general linker optimization level.
+ // The general linker optimization level (-O).
int
- optimization_level() const
+ optimize() const
{
gold_assert(this->options_valid_);
return this->optimization_level_;