diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-27 22:38:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-27 22:38:18 +0000 |
commit | 7019cd256559b48bc642fcb8ff9a4ea9e98bced7 (patch) | |
tree | c88847678e9c212b482d4a30beccdd74abdd90c6 /gold/options.h | |
parent | 20b4711e0556d73b7a16250447ee5ca505b834db (diff) | |
download | gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.zip gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.gz gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.bz2 |
Implement -q/--emit-relocs.
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 14e1629..c08b391 100644 --- a/gold/options.h +++ b/gold/options.h @@ -167,6 +167,11 @@ class General_options Target* default_target() const; + // -q: Whether to emit relocations. + bool + emit_relocs() const + { return this->emit_relocs_; } + // -r: Whether we are doing a relocatable link. bool relocatable() const @@ -409,6 +414,10 @@ class General_options set_oformat(const char*); void + set_emit_relocs(bool value) + { this->emit_relocs_ = value; } + + void set_relocatable(bool value) { this->is_relocatable_ = value; } @@ -615,6 +624,7 @@ class General_options const char* output_file_name_; Object_format oformat_; const char* oformat_string_; + bool emit_relocs_; bool is_relocatable_; Strip strip_; bool allow_shlib_undefined_; |