aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>1999-10-11 04:07:10 +0000
committerGeoffrey Keating <geoffk@geoffk.org>1999-10-11 04:07:10 +0000
commit2bdd6cf5996b717fe7539ab07b6b0aec10f38934 (patch)
tree2e5fe91eb4ecf20619a91add9a2cbe6c5202b07b /gas/as.h
parenta6ea59ce8abde2284ec71fef37de00b0d9fd197f (diff)
downloadbinutils-2bdd6cf5996b717fe7539ab07b6b0aec10f38934.zip
binutils-2bdd6cf5996b717fe7539ab07b6b0aec10f38934.tar.gz
binutils-2bdd6cf5996b717fe7539ab07b6b0aec10f38934.tar.bz2
* as.c (show_usage): Document new options.
(parse_args): Add --no-warn, --warn, --fatal-warnings, which become 'W', OPTION_WARN, and OPTION_WARN_FATAL. (parse_args): Parse the new options. (main): If there were warnings, and --fatal-warnings was specified, print an error. * as.h: New variable, flag_fatal_warnings, for new option.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index e72902b..62ef376 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -427,6 +427,9 @@ COMMON unsigned char flag_readonly_data_in_text; /* -R */
/* True if warnings should be inhibited. */
COMMON int flag_no_warnings; /* -W */
+/* True if warnings count as errors. */
+COMMON int flag_fatal_warnings; /* --fatal-warnings */
+
/* True if we should attempt to generate output even if non-fatal errors
are detected. */
COMMON unsigned char flag_always_generate_output; /* -Z */