commit | c1eb3cd205921fb7af668f2032ab2c7142c4f24c | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sat Apr 22 16:01:02 2023 +0930 |
committer | Alan Modra <amodra@gmail.com> | Mon Apr 24 20:59:38 2023 +0930 |
tree | 6ebf39de52d1df4227683f7dd29355cfb8528df0 | |
parent | 596a7c72b2eb3da8247651805f4afc2c0da4c275 [diff] |
objcopy of archives tidy This makes sure the input element bfd is closed before exiting the loop copying elements. * objcopy.c (copy_archive): Rename output_bfd to output_element. Localise last_element. Close this_element in more error cases.