Re: [PATCH] ld: Don't treated the fatal error as warning

"Maciej W. Rozycki" <[email protected]> Mon, 3 Aug 2026 02:12:07 +0100 (BST)
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On Mon, 3 Aug 2026, H.J. Lu wrote:

> > Change fatal to pass false as the is_warning argument to vfinfo so that
> > the fatal error message isn't treated as a warning by vfinfo.
> >
> > * ldmisc.c (fatal): Pass false as the is_warning argument to
> > vfinfo.

 It seems to me like a pretty obvious fix to a typo/oversight in commit 
8d97c1a53f3d ("PR 32603, ld -w misbehaviour"), however would you please 
make a simple generic test case to cover it?

> If there is no objection, I will check it in next week.

 I don't think it works like that.

  Maciej