PR28328, dlltool ice
authorAlan Modra <amodra@gmail.com>
Fri, 10 Sep 2021 09:21:30 +0000 (18:51 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Sep 2021 00:34:17 +0000 (10:04 +0930)
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

index 3868fc9f7ed461fee5e5321e695e51739919730f..2ac680ddc176d1223b428dfeee81148a9d3bcfc7 100644 (file)
@@ -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;
     }