aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-09-10 18:51:30 +0930
committerAlan Modra <amodra@gmail.com>2021-09-15 10:04:17 +0930
commit0a8d812b42b95e65dfe5c2344e98f805ba8156d4 (patch)
tree9491d261c648babe9880ce91d03328ff442fc278 /bfd/archive.c
parentff03a88e30fbb30db9370fed69132cc5d11c708a (diff)
downloadgdb-0a8d812b42b95e65dfe5c2344e98f805ba8156d4.zip
gdb-0a8d812b42b95e65dfe5c2344e98f805ba8156d4.tar.gz
gdb-0a8d812b42b95e65dfe5c2344e98f805ba8156d4.tar.bz2
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.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index 3868fc9..2ac680d 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;
}