This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed: Add --warn-multiple-gp
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Wed, 06 Jan 2010 21:58:58 -0800
- Subject: gold patch committed: Add --warn-multiple-gp
The GNU linker supports the --warn-multiple-gp option. It is only
used on Alpha ECOFF, and is ignored on all other platforms. According
to PR 10980, for some reason the mkelfimage program uses it when
linking. I committed this patch to gold to add it as a no-op option.
Ian
2010-01-06 Ian Lance Taylor <iant@google.com>
PR 10980
* options.h (class General_options): Add --warn-multiple-gp.
Index: options.h
===================================================================
RCS file: /cvs/src/src/gold/options.h,v
retrieving revision 1.132
diff -p -u -r1.132 options.h
--- options.h 6 Jan 2010 22:37:18 -0000 1.132
+++ options.h 7 Jan 2010 05:55:47 -0000
@@ -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"));