mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-07 16:13:03 +00:00
From Craig Silverstein: Fix error message, add this->.
This commit is contained in:
@@ -243,7 +243,7 @@ class Output_merge_string : public Output_merge_base
|
|||||||
// Clears all the data in the stringpool, to save on memory.
|
// Clears all the data in the stringpool, to save on memory.
|
||||||
void
|
void
|
||||||
clear_stringpool()
|
clear_stringpool()
|
||||||
{ stringpool_.clear(); }
|
{ this->stringpool_.clear(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// As we see input sections, we build a mapping from object, section
|
// As we see input sections, we build a mapping from object, section
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ options::Command_line_options::options[] =
|
|||||||
"(default is none)"),
|
"(default is none)"),
|
||||||
N_("--compress-debug-sections=[none" ZLIB_STR "]"),
|
N_("--compress-debug-sections=[none" ZLIB_STR "]"),
|
||||||
TWO_DASHES,
|
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"),
|
GENERAL_NOARG('\0', "demangle", N_("Demangle C++ symbols in log messages"),
|
||||||
NULL, TWO_DASHES, &General_options::set_demangle),
|
NULL, TWO_DASHES, &General_options::set_demangle),
|
||||||
GENERAL_NOARG('\0', "no-demangle",
|
GENERAL_NOARG('\0', "no-demangle",
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ class General_options
|
|||||||
set_symbolic()
|
set_symbolic()
|
||||||
{ this->symbolic_ = true; }
|
{ this->symbolic_ = true; }
|
||||||
|
|
||||||
void set_compress_debug_symbols(const char* arg)
|
void set_compress_debug_sections(const char* arg)
|
||||||
{
|
{
|
||||||
if (strcmp(arg, "none") == 0)
|
if (strcmp(arg, "none") == 0)
|
||||||
this->compress_debug_sections_ = NO_COMPRESSION;
|
this->compress_debug_sections_ = NO_COMPRESSION;
|
||||||
@@ -374,7 +374,7 @@ class General_options
|
|||||||
this->compress_debug_sections_ = ZLIB_COMPRESSION;
|
this->compress_debug_sections_ = ZLIB_COMPRESSION;
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
gold_fatal(_("unsupported argument to --compress-debug-symbols: %s"),
|
gold_fatal(_("unsupported argument to --compress-debug-sections: %s"),
|
||||||
arg);
|
arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user