From 091244672e9cb571cb7272d491826f85de871ced Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 15 Jan 2008 23:41:28 +0000 Subject: From Andrew Chatham and Craig Silverstein: Add support for version scripts. --- gold/options.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gold/options.h') 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 -- cgit v1.1