aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-04-09 01:19:09 +0000
committerIan Lance Taylor <ian@airs.com>2008-04-09 01:19:09 +0000
commitcdb0b8f5655411f9926c49ae39386430d3df67b0 (patch)
treeff62401d83cb501f65b0bbe748d0a1e3bdf92559 /gold/options.h
parent0864d55193d9ad757c26cba29da1de1c00be4ba8 (diff)
downloadgdb-cdb0b8f5655411f9926c49ae39386430d3df67b0.zip
gdb-cdb0b8f5655411f9926c49ae39386430d3df67b0.tar.gz
gdb-cdb0b8f5655411f9926c49ae39386430d3df67b0.tar.bz2
* options.h (class General_options): Add --noinhibit-exec option.
* main.cc (main): Check --noinhibit-exec.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 487603f..8d624e5 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -538,6 +538,9 @@ class General_options
DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
N_("Ignored for compatibility"), N_("EMULATION"));
+ DEFINE_bool(noinhibit_exec, options::TWO_DASHES, '\0', false,
+ N_("Create an output file even if errors occur"), NULL);
+
DEFINE_string(output, options::TWO_DASHES, 'o', "a.out",
N_("Set output file name"), N_("FILE"));