|
From: | Nick Clifton |
Subject: | Re: ld should support --no-fatal-warnings |
Date: | Wed, 04 Jun 2008 10:48:46 +0100 |
User-agent: | Thunderbird 1.5.0.12 (X11/20080213) |
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 <address@hidden> * 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.
[Prev in Thread] | Current Thread | [Next in Thread] |