From 8851eccaec28f25f56fab5ba5d8ae44f71729975 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 28 Feb 2008 00:18:24 +0000 Subject: From Craig Silverstein: Have Parameters point to General_options. --- gold/options.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gold/options.h') 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 -- cgit v1.1