diff options
author | Geoffrey Keating <geoffk@geoffk.org> | 1999-10-11 04:07:10 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@geoffk.org> | 1999-10-11 04:07:10 +0000 |
commit | 2bdd6cf5996b717fe7539ab07b6b0aec10f38934 (patch) | |
tree | 2e5fe91eb4ecf20619a91add9a2cbe6c5202b07b /gas/as.h | |
parent | a6ea59ce8abde2284ec71fef37de00b0d9fd197f (diff) | |
download | gdb-2bdd6cf5996b717fe7539ab07b6b0aec10f38934.zip gdb-2bdd6cf5996b717fe7539ab07b6b0aec10f38934.tar.gz gdb-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |