diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-07-26 05:37:57 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-07-26 16:21:47 -0700 |
commit | 5b37a5ca1d2e90ea1fc29593046428f7ed116a7f (patch) | |
tree | 4002223ba1a1cee6fb93d444f08014181477b05e /libiberty/functions.texi | |
parent | 4b41648fff32bb1fdf26bc6440323795f453862e (diff) | |
download | gdb-5b37a5ca1d2e90ea1fc29593046428f7ed116a7f.zip gdb-5b37a5ca1d2e90ea1fc29593046428f7ed116a7f.tar.gz gdb-5b37a5ca1d2e90ea1fc29593046428f7ed116a7f.tar.bz2 |
bfd: Set error to bfd_error_malformed_archive only if unset
When reading an archive member, set error to bfd_error_malformed_archive
on open_nested_file failure only if the error is unset.
PR ld/28138
* archive.c (_bfd_get_elt_at_filepos): Don't set error to
bfd_error_malformed_archive if it has been set.
Diffstat (limited to 'libiberty/functions.texi')
0 files changed, 0 insertions, 0 deletions