aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-01-07 05:57:25 +0000
committerIan Lance Taylor <ian@airs.com>2010-01-07 05:57:25 +0000
commit6eda8c29b846c5140c023e21c931c3a97ddf62fc (patch)
tree71662abba2751bf9e90c07d0d580c35784371683
parent32dcd44e18c4c0088f917a0215e4b6939cc27a84 (diff)
downloadgdb-6eda8c29b846c5140c023e21c931c3a97ddf62fc.zip
gdb-6eda8c29b846c5140c023e21c931c3a97ddf62fc.tar.gz
gdb-6eda8c29b846c5140c023e21c931c3a97ddf62fc.tar.bz2
PR 10980
* options.h (class General_options): Add --warn-multiple-gp.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/options.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 69754c0..c759683 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-06 Ian Lance Taylor <iant@google.com>
+
+ PR 10980
+ * options.h (class General_options): Add --warn-multiple-gp.
+
2010-01-06 Viktor Kutuzov <vkutuzov@accesssoftek.com>
* Makefile.am (incremental_dump_DEPENDENCIES): Remove
diff --git a/gold/options.h b/gold/options.h
index 7e9c9f9..018ec1b 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -961,6 +961,9 @@ class General_options
DEFINE_bool(warn_constructors, options::TWO_DASHES, '\0', false,
N_("Ignored"), N_("Ignored"));
+ DEFINE_bool(warn_multiple_gp, options::TWO_DASHES, '\0', false,
+ N_("Ignored"), NULL);
+
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"));