diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-15 23:41:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-15 23:41:28 +0000 |
commit | 091244672e9cb571cb7272d491826f85de871ced (patch) | |
tree | 40be47b8e61a974e262595c7aa516f597970f285 /gold/options.h | |
parent | 58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547 (diff) | |
download | gdb-091244672e9cb571cb7272d491826f85de871ced.zip gdb-091244672e9cb571cb7272d491826f85de871ced.tar.gz gdb-091244672e9cb571cb7272d491826f85de871ced.tar.bz2 |
From Andrew Chatham and Craig Silverstein: Add support for version
scripts.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 5 |
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 |