Ignored the -m option, for old linker compatibility.
authorIan Lance Taylor <iant@google.com>
Fri, 3 Nov 2006 18:48:03 +0000 (18:48 +0000)
committerIan Lance Taylor <iant@google.com>
Fri, 3 Nov 2006 18:48:03 +0000 (18:48 +0000)
gold/options.cc
gold/options.h
gold/po/gold.pot

index 397259e..2fea87d 100644 (file)
@@ -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),
index 3b54c49..27db787 100644 (file)
@@ -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_;
index 67fc6c3..522e25a 100644 (file)
@@ -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 <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\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 ""