From 652ec9bd892d15910efb4da2488c17788460ff33 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Nov 2006 18:48:03 +0000 Subject: [PATCH] Ignored the -m option, for old linker compatibility. --- gold/options.cc | 2 ++ gold/options.h | 4 ++++ gold/po/gold.pot | 32 ++++++++++++++++++-------------- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/gold/options.cc b/gold/options.cc index 397259e..2fea87da3 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 3b54c49..27db787 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 67fc6c3..522e25a 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 "" -- 2.7.4