This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed: Recognize --no-detect-odr-violations
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Mon, 24 Jan 2011 22:09:37 -0800
- Subject: gold patch committed: Recognize --no-detect-odr-violations
I committed this patch to gold to recognize the option
--no-detect-odr-violations, which disables a --detect-odr-violations
seen earlier on the command line.
Ian
2011-01-24 Ian Lance Taylor <iant@google.com>
* options.h (class General_options): Accept
--no-detect-odr-violations.
Index: options.h
===================================================================
RCS file: /cvs/src/src/gold/options.h,v
retrieving revision 1.153
diff -u -p -r1.153 options.h
--- options.h 9 Dec 2010 23:19:50 -0000 1.153
+++ options.h 25 Jan 2011 06:08:27 -0000
@@ -682,8 +682,8 @@ class General_options
NULL);
DEFINE_bool(detect_odr_violations, options::TWO_DASHES, '\0', false,
- N_("Try to detect violations of the One Definition Rule"),
- NULL);
+ N_("Look for violations of the C++ One Definition Rule"),
+ N_("Do not look for violations of the C++ One Definition Rule"));
DEFINE_bool(discard_all, options::TWO_DASHES, 'x', false,
N_("Delete all local symbols"), NULL);