Hi Chris,
This turns out to be convenient in cases where one's build system
defaults to "ld --fatal-warning" but occasionally one would like to
override it. It's also parallel to existing gcc conventions for setting
and unsetting options. See attached diff to ld/lexsup.c; it's against
2.17 but patches OK against 2.18.
Approved and applied.
You missed two things - a ChangeLog entry and a patch to ld.texinfo to
mention the new command line option. I have added both of these.
Cheers
Nick
ld/ChangeLog
2008-06-04 Chris Metcalf <[EMAIL PROTECTED]>
* lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
(ld_options): Add entry for --no-fatal-warnings.
(parse_args): Handle OPTION_NO_WARN_FATAL.
* ld.texinfo (Options): Document new command line switch.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils