diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-06 23:37:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-06 23:37:53 +0000 |
commit | 15b3cfae2bd81ba81b63d7c16276228cf6b9887c (patch) | |
tree | a1c136d2ba3b42d7630c8c37192efa9f780f19d4 /gold/options.h | |
parent | 3e34759906232cdbcec638c4dd9cf556a4254669 (diff) | |
download | gdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.zip gdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.tar.gz gdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.tar.bz2 |
Add -rpath-link option, currently unused.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 7b1fe67..3521f08 100644 --- a/gold/options.h +++ b/gold/options.h @@ -74,6 +74,11 @@ class General_options rpath() const { return this->rpath_; } + // --rpath-link: The link time search patch for shared libraries. + const Dir_list& + rpath_link() const + { return this->rpath_link_; } + // --shared: Whether generating a shared object. bool is_shared() const @@ -121,6 +126,10 @@ class General_options { this->rpath_.push_back(arg); } void + add_to_rpath_link(const char* arg) + { this->rpath_link_.push_back(arg); } + + void set_shared() { this->is_shared_ = true; } @@ -139,6 +148,7 @@ class General_options bool is_relocatable_; bool create_eh_frame_hdr_; Dir_list rpath_; + Dir_list rpath_link_; bool is_shared_; bool is_static_; }; |