aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-27 22:38:18 +0000
committerIan Lance Taylor <iant@google.com>2008-02-27 22:38:18 +0000
commit7019cd256559b48bc642fcb8ff9a4ea9e98bced7 (patch)
treec88847678e9c212b482d4a30beccdd74abdd90c6 /gold/parameters.h
parent20b4711e0556d73b7a16250447ee5ca505b834db (diff)
downloadgdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.zip
gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.gz
gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.bz2
Implement -q/--emit-relocs.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r--gold/parameters.h7
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.