* options.h (class General_options): Add --warn_constructors.
authorIan Lance Taylor <ian@airs.com>
Tue, 3 Nov 2009 15:57:02 +0000 (15:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 3 Nov 2009 15:57:02 +0000 (15:57 +0000)
gold/ChangeLog
gold/options.h

index ac1861d..40287bb 100644 (file)
@@ -1,5 +1,9 @@
 2009-11-03  Ian Lance Taylor  <iant@google.com>
 
+       * options.h (class General_options): Add --warn_constructors.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
        PR 10893
        * defstd.cc (in_section): Add entries for __rel_iplt_start,
        __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
index ef27de1..c1d5329 100644 (file)
@@ -918,6 +918,9 @@ class General_options
   DEFINE_special(version_script, options::TWO_DASHES, '\0',
                  N_("Read version script"), N_("FILE"));
 
+  DEFINE_bool(warn_constructors, options::TWO_DASHES, '\0', false,
+             N_("Ignored"), N_("Ignored"));
+
   DEFINE_bool(warn_search_mismatch, options::TWO_DASHES, '\0', true,
              N_("Warn when skipping an incompatible library"),
              N_("Don't warn when skipping an incompatible library"));