Ignored the -m option, for old linker compatibility.

This commit is contained in:
Ian Lance Taylor 2006-11-03 18:48:03 +00:00
parent dd32f77868
commit 652ec9bd89
3 changed files with 24 additions and 14 deletions

View File

@ -234,6 +234,8 @@ options::Command_line_options::options[] =
GENERAL_ARG('L', "library-path", N_("Add directory to search path"), GENERAL_ARG('L', "library-path", N_("Add directory to search path"),
N_("-L DIR, --library-path DIR"), TWO_DASHES, N_("-L DIR, --library-path DIR"), TWO_DASHES,
&General_options::add_to_search_path), &General_options::add_to_search_path),
GENERAL_ARG('m', NULL, N_("Ignored for compatibility"), NULL, ONE_DASH,
&General_options::ignore),
GENERAL_ARG('o', "output", N_("Set output file name"), GENERAL_ARG('o', "output", N_("Set output file name"),
N_("-o FILE, --output FILE"), TWO_DASHES, N_("-o FILE, --output FILE"), TWO_DASHES,
&General_options::set_output_file_name), &General_options::set_output_file_name),

View File

@ -89,6 +89,10 @@ class General_options
set_static() set_static()
{ this->is_static_ = true; } { this->is_static_ = true; }
void
ignore(const char*)
{ }
Dir_list search_path_; Dir_list search_path_;
const char* output_file_name_; const char* output_file_name_;
bool is_relocatable_; bool is_relocatable_;

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-11-03 10:39-0800\n" "POT-Creation-Date: 2006-11-03 10:45-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -338,61 +338,65 @@ msgid "-L DIR, --library-path DIR"
msgstr "" msgstr ""
#: options.cc:237 #: options.cc:237
msgid "Ignored for compatibility"
msgstr ""
#: options.cc:239
msgid "Set output file name" msgid "Set output file name"
msgstr "" msgstr ""
#: options.cc:238 #: options.cc:240
msgid "-o FILE, --output FILE" msgid "-o FILE, --output FILE"
msgstr "" msgstr ""
#: options.cc:240 #: options.cc:242
msgid "Generate relocatable output" msgid "Generate relocatable output"
msgstr "" msgstr ""
#: options.cc:242 #: options.cc:244
msgid "Generate shared library" msgid "Generate shared library"
msgstr "" msgstr ""
#: options.cc:244 #: options.cc:246
msgid "Do not link against shared libraries" msgid "Do not link against shared libraries"
msgstr "" msgstr ""
#: options.cc:246 #: options.cc:248
msgid "Report usage information" msgid "Report usage information"
msgstr "" msgstr ""
#: options.cc:344 options.cc:395 options.cc:481 #: options.cc:346 options.cc:397 options.cc:483
msgid "missing argument" msgid "missing argument"
msgstr "" msgstr ""
#: options.cc:357 options.cc:404 #: options.cc:359 options.cc:406
msgid "unknown option" msgid "unknown option"
msgstr "" msgstr ""
#: options.cc:412 #: options.cc:414
#, c-format #, c-format
msgid "%s: missing group end" msgid "%s: missing group end"
msgstr "" msgstr ""
#: options.cc:494 #: options.cc:496
msgid "may not nest groups" msgid "may not nest groups"
msgstr "" msgstr ""
#: options.cc:509 #: options.cc:511
msgid "group end without group start" msgid "group end without group start"
msgstr "" msgstr ""
#: options.cc:519 #: options.cc:521
#, c-format #, c-format
msgid "%s: use the --help option for usage information\n" msgid "%s: use the --help option for usage information\n"
msgstr "" msgstr ""
#: options.cc:528 #: options.cc:530
#, c-format #, c-format
msgid "%s: %s: %s\n" msgid "%s: %s: %s\n"
msgstr "" msgstr ""
#: options.cc:537 #: options.cc:539
#, c-format #, c-format
msgid "%s: -%c: %s\n" msgid "%s: -%c: %s\n"
msgstr "" msgstr ""