[binutils-gdb] ld: Don't treated the fatal error as warning
"H.J. Lu via Binutils-cvs" <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44fab92685fd1f4bc02cc6668237883ed0d9789d commit 44fab92685fd1f4bc02cc6668237883ed0d9789d Author: H.J. Lu <[email protected]> Date: Thu Jul 30 15:18:42 2026 +0800 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 <[email protected]> Diff: --- ld/ldmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);