diff options
Diffstat (limited to 'gold/parameters.h')
-rw-r--r-- | gold/parameters.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h index 136fd35..9d3ebb6 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -102,6 +102,11 @@ class Parameters output_is_position_independent() const { return output_is_shared(); } + // Whether to emit relocations in the output. + bool + emit_relocs() const + { return this->emit_relocs_; } + // The target system root directory. This is NULL if there isn't // one. const std::string& @@ -298,6 +303,8 @@ class Parameters const char* output_file_name_; // The type of the output file. Output_file_type output_file_type_; + // Whether to emit relocations (-q/--emit-relocs). + bool emit_relocs_; // The target system root directory. std::string sysroot_; // Which symbols to strip. |