diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-08 03:05:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-08 03:05:27 +0000 |
commit | bc2c67ffde4dd6cf884aa5fcb93e1fc8b3cb16a8 (patch) | |
tree | f67b9524da0b08c81daf5f660a1a91a46d196799 | |
parent | 2fcb970637fc082a6d12666ba9a15da15a16dd9d (diff) | |
download | fsf-binutils-gdb-bc2c67ffde4dd6cf884aa5fcb93e1fc8b3cb16a8.zip fsf-binutils-gdb-bc2c67ffde4dd6cf884aa5fcb93e1fc8b3cb16a8.tar.gz fsf-binutils-gdb-bc2c67ffde4dd6cf884aa5fcb93e1fc8b3cb16a8.tar.bz2 |
From Craig Silverstein: Fix error message, add this->.
-rw-r--r-- | gold/merge.h | 2 | ||||
-rw-r--r-- | gold/options.cc | 2 | ||||
-rw-r--r-- | gold/options.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gold/merge.h b/gold/merge.h index adafb0b..529037c 100644 --- a/gold/merge.h +++ b/gold/merge.h @@ -243,7 +243,7 @@ class Output_merge_string : public Output_merge_base // Clears all the data in the stringpool, to save on memory. void clear_stringpool() - { stringpool_.clear(); } + { this->stringpool_.clear(); } private: // As we see input sections, we build a mapping from object, section diff --git a/gold/options.cc b/gold/options.cc index f5fc8da..20ddc6a 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -386,7 +386,7 @@ options::Command_line_options::options[] = "(default is none)"), N_("--compress-debug-sections=[none" ZLIB_STR "]"), TWO_DASHES, - &General_options::set_compress_debug_symbols), + &General_options::set_compress_debug_sections), GENERAL_NOARG('\0', "demangle", N_("Demangle C++ symbols in log messages"), NULL, TWO_DASHES, &General_options::set_demangle), GENERAL_NOARG('\0', "no-demangle", diff --git a/gold/options.h b/gold/options.h index 776d3db..9cb317e 100644 --- a/gold/options.h +++ b/gold/options.h @@ -365,7 +365,7 @@ class General_options set_symbolic() { this->symbolic_ = true; } - void set_compress_debug_symbols(const char* arg) + void set_compress_debug_sections(const char* arg) { if (strcmp(arg, "none") == 0) this->compress_debug_sections_ = NO_COMPRESSION; @@ -374,7 +374,7 @@ class General_options this->compress_debug_sections_ = ZLIB_COMPRESSION; #endif else - gold_fatal(_("unsupported argument to --compress-debug-symbols: %s"), + gold_fatal(_("unsupported argument to --compress-debug-sections: %s"), arg); } |