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

Maciej W. Rozycki macro@orcam.me.uk
Mon Aug 3 01:12:07 GMT 2026


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


More information about the Binutils mailing list