aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-11-03 15:57:02 +0000
committerIan Lance Taylor <ian@airs.com>2009-11-03 15:57:02 +0000
commit37a9ac43fbaaefa914f34c7eebf27c328a796aec (patch)
treec1a73a5d65d26d773956713ec70507f948f174ef /gold
parentb3d6a3d42f65696ae7c62b2ae726f707d51e4dc3 (diff)
downloadgdb-37a9ac43fbaaefa914f34c7eebf27c328a796aec.zip
gdb-37a9ac43fbaaefa914f34c7eebf27c328a796aec.tar.gz
gdb-37a9ac43fbaaefa914f34c7eebf27c328a796aec.tar.bz2
* options.h (class General_options): Add --warn_constructors.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/options.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index ac1861d..40287bb 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/options.h b/gold/options.h
index ef27de1..c1d5329 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -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"));