aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-16 08:04:58 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-16 08:05:09 -0700
commit6457197210144f50a696097c0d308d81d46d5510 (patch)
treedc8ba9a38f4bc0a79bf27dba208599434dbeff0c /gold/options.h
parente66acfb155e75c1909a6f29702ed6ba3762e36b4 (diff)
downloadgdb-6457197210144f50a696097c0d308d81d46d5510.zip
gdb-6457197210144f50a696097c0d308d81d46d5510.tar.gz
gdb-6457197210144f50a696097c0d308d81d46d5510.tar.bz2
Don't ignore "-m emulation" command line option
Gold shouldn't ignore "-m emulation" command line option, which may lead to incorrect output. PR gold/19119 * options.h (General_options): Remove "obsolete" from -m. * parameters.cc (set_parameters_target): Check if input target is compatible with output emulation set by "-m emulation".
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/options.h b/gold/options.h
index 641efee..4d65225 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -934,7 +934,7 @@ class General_options
N_("OFFSET"));
DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
- N_("Set GNU linker emulation; obsolete"), N_("EMULATION"));
+ N_("Set GNU linker emulation"), N_("EMULATION"));
DEFINE_bool(mmap_output_file, options::TWO_DASHES, '\0', true,
N_("Map the output file for writing (default)."),