aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index c08b391..c4e9859 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -163,6 +163,10 @@ class General_options
oformat() const
{ return this->oformat_; }
+ const char*
+ oformat_string() const
+ { return this->oformat_string_; }
+
// Return the default target.
Target*
default_target() const;
@@ -245,6 +249,12 @@ class General_options
shared() const
{ return this->is_shared_; }
+ // This is not defined via a flag, but combines flags to say whether
+ // the output is position-independent or not.
+ bool
+ output_is_position_independent() const
+ { return this->shared(); }
+
// --static: Whether doing a static link.
bool
is_static() const