aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index e81856c..47623dc 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -233,6 +233,11 @@ class General_options
sysroot() const
{ return this->sysroot_; }
+ // --version-script: The version script to apply if --shared is true.
+ const Version_script_info&
+ version_script() const
+ { return *this->script_options_->version_script_info(); }
+
// -Ttext: The address of the .text section
uint64_t
text_segment_address() const