From: H.J. Lu Date: Thu, 30 Jul 2026 07:18:42 +0000 (+0800) Subject: ld: Don't treated the fatal error as warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44fab92685fd1f4bc02cc6668237883ed0d9789d;p=thirdparty%2Fbinutils-gdb.git ld: Don't treated the fatal error as warning 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. Signed-off-by: H.J. Lu --- diff --git a/ld/ldmisc.c b/ld/ldmisc.c index 31ca64b4ba0..efb10693076 100644 --- a/ld/ldmisc.c +++ b/ld/ldmisc.c @@ -661,7 +661,7 @@ fatal (const char *fmt, ...) fflush (stdout); va_start (arg, fmt); - vfinfo (stderr, fmt, arg, true); + vfinfo (stderr, fmt, arg, false); va_end (arg); fflush (stderr); xexit (1);