diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-04 05:49:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-04 05:49:04 +0000 |
commit | ad2d6943a49fa11ba1e23749973c75feb12dcf6b (patch) | |
tree | bc02409b029014fba4f735d3dea15217bbb58c9b /gold/parameters.h | |
parent | 4638dbaa96a30d93647bb737b9a49ee1ca878a7d (diff) | |
download | gdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.zip gdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.tar.gz gdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.tar.bz2 |
Full support for --sysroot.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r-- | gold/parameters.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h index 2a21607..a150981 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -56,6 +56,12 @@ class Parameters output_is_object() const { return this->output_file_type_ == OUTPUT_OBJECT; } + // The target system root directory. This is NULL if there isn't + // one. + const std::string& + sysroot() const + { return this->sysroot_; } + // Whether we are doing a static link--a link in which none of the // input files are shared libraries. This is only known after we // have seen all the input files. @@ -110,6 +116,9 @@ class Parameters // The type of the output file. Output_file_type output_file_type_; + // The target system root directory. + std::string sysroot_; + // Whether the doing_static_link_ field is valid. bool is_doing_static_link_valid_; // Whether we are doing a static link. |