Re: [PATCH] ld: Don't ignore bfd_gc_sections failure

Jan Beulich <[email protected]> Thu, 30 Jul 2026 09:00:32 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 30.07.2026 08:34, H.J. Lu wrote:
> If bfd_gc_sections fails, issue a fatal error and change fatal to pass
> false as the is_warning argument to vfinfo so that the fatal isn't
> treated as a warning by vfinfo.
> 
> PR ld/34448
> * ldlang.c (lang_gc_sections): If bfd_gc_sections fails, issue
> a fatal error.
> * ldmisc.c (fatal): Pass false as the is_warning argument to
> vfinfo.

Okay, albeit I think the two would better have been separate changes.

Jan