diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2001-04-13 02:22:23 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2001-04-13 02:22:23 +0000 |
commit | 7ce691aec4ef1b3ee705799d7166bc949815440c (patch) | |
tree | 92e5d49ac8ac7a4b6ccb7d11be83f0b23b248ced /ld/ld.texinfo | |
parent | f5fa8ca231d47662321addbfbde105e2bed0be07 (diff) | |
download | gdb-7ce691aec4ef1b3ee705799d7166bc949815440c.zip gdb-7ce691aec4ef1b3ee705799d7166bc949815440c.tar.gz gdb-7ce691aec4ef1b3ee705799d7166bc949815440c.tar.bz2 |
* 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.texinfo')
-rw-r--r-- | ld/ld.texinfo | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index f01c305..354d2a7 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -982,6 +982,11 @@ assembler. It causes the linker to create a table which may be used at runtime to relocate any data which was statically initialized to pointer values. See the code in testsuite/ld-empic for details. + +@kindex --fatal-warnings +@item --fatal-warnings +Treat all warnings as errors. + @kindex --force-exe-suffix @item --force-exe-suffix Make sure that an output file has a .exe suffix. @@ -1333,7 +1338,7 @@ about the version heirarchy for the library being created. This option is only meaningful on ELF platforms which support shared libraries. @xref{VERSION}. -@kindex --warn-comon +@kindex --warn-common @cindex warnings, on combining symbols @cindex combining symbols, warnings on @item --warn-common |