summaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2001-04-13 02:22:23 +0000
committerJ.T. Conklin <jtc@redback.com>2001-04-13 02:22:23 +0000
commit116071ecd0235fbb0134d321ccfb3f6e7a9a3c3e (patch)
tree2d9c3675430b3c312692d05d6cd596e3bf00d382 /ld/ld.h
parent18d0ddaee98642e2880761dc07141b1b92341a84 (diff)
downloadbinutils-redhat-116071ecd0235fbb0134d321ccfb3f6e7a9a3c3e.tar.gz
* ld.texinfo: Document --fatal-warnings.
* ld.1: Regenerate. * ldmisc.c (vfinfo): Set flag to inhibit making executable if warnings have been turned into errors. * lexsup.c (OPTION_WARN_FATAL): Define. (ld_options): Entry for --fatal-warnings. (parse_args): Handle OPTION_WARN_FATAL. * ld.h (ld_config_type): Add fatal_warnings field.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 620c3ba57b..e13e28082b 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -192,6 +192,9 @@ typedef struct {
changes due to the alignment of an input section. */
boolean warn_section_align;
+ /* If true, warning messages are fatal */
+ boolean fatal_warnings;
+
boolean sort_common;
boolean text_read_only;