From 0a8d812b42b95e65dfe5c2344e98f805ba8156d4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 10 Sep 2021 18:51:30 +0930 Subject: [PATCH] PR28328, dlltool ice PR 28328 * archive.c (bfd_ar_hdr_from_filesystem): Don't use bfd_set_input_error here, our caller will do that. --- bfd/archive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfd/archive.c b/bfd/archive.c index 3868fc9f7ed..2ac680ddc17 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1868,7 +1868,7 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member) } else if (stat (filename, &status) != 0) { - bfd_set_input_error (member, bfd_error_system_call); + bfd_set_error (bfd_error_system_call); return NULL; } -- 2.30.2