From: Ian Lance Taylor Date: Fri, 3 Nov 2006 18:48:03 +0000 (+0000) Subject: Ignored the -m option, for old linker compatibility. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=652ec9bd892d15910efb4da2488c17788460ff33;p=binutils-gdb.git Ignored the -m option, for old linker compatibility. --- diff --git a/gold/options.cc b/gold/options.cc index 397259e25c7..2fea87da39a 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -234,6 +234,8 @@ options::Command_line_options::options[] = GENERAL_ARG('L', "library-path", N_("Add directory to search path"), N_("-L DIR, --library-path DIR"), TWO_DASHES, &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"), N_("-o FILE, --output FILE"), TWO_DASHES, &General_options::set_output_file_name), diff --git a/gold/options.h b/gold/options.h index 3b54c497d14..27db787edc2 100644 --- a/gold/options.h +++ b/gold/options.h @@ -89,6 +89,10 @@ class General_options set_static() { this->is_static_ = true; } + void + ignore(const char*) + { } + Dir_list search_path_; const char* output_file_name_; bool is_relocatable_; diff --git a/gold/po/gold.pot b/gold/po/gold.pot index 67fc6c35d96..522e25a5e2d 100644 --- a/gold/po/gold.pot +++ b/gold/po/gold.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -338,61 +338,65 @@ msgid "-L DIR, --library-path DIR" msgstr "" #: options.cc:237 +msgid "Ignored for compatibility" +msgstr "" + +#: options.cc:239 msgid "Set output file name" msgstr "" -#: options.cc:238 +#: options.cc:240 msgid "-o FILE, --output FILE" msgstr "" -#: options.cc:240 +#: options.cc:242 msgid "Generate relocatable output" msgstr "" -#: options.cc:242 +#: options.cc:244 msgid "Generate shared library" msgstr "" -#: options.cc:244 +#: options.cc:246 msgid "Do not link against shared libraries" msgstr "" -#: options.cc:246 +#: options.cc:248 msgid "Report usage information" msgstr "" -#: options.cc:344 options.cc:395 options.cc:481 +#: options.cc:346 options.cc:397 options.cc:483 msgid "missing argument" msgstr "" -#: options.cc:357 options.cc:404 +#: options.cc:359 options.cc:406 msgid "unknown option" msgstr "" -#: options.cc:412 +#: options.cc:414 #, c-format msgid "%s: missing group end" msgstr "" -#: options.cc:494 +#: options.cc:496 msgid "may not nest groups" msgstr "" -#: options.cc:509 +#: options.cc:511 msgid "group end without group start" msgstr "" -#: options.cc:519 +#: options.cc:521 #, c-format msgid "%s: use the --help option for usage information\n" msgstr "" -#: options.cc:528 +#: options.cc:530 #, c-format msgid "%s: %s: %s\n" msgstr "" -#: options.cc:537 +#: options.cc:539 #, c-format msgid "%s: -%c: %s\n" msgstr ""