[PATCH] ld: Check archive only for archive member

Nick Clifton nickc@redhat.com
Wed Jul 7 14:40:35 GMT 2021


Hi H.J.

> bfd/
> 
> 	PR ld/18028
> 	* plugin.c (bfd_plugin_close_file_descriptor): Check archive
> 	only of abfd != NULL.
> 	(try_claim): Pass NULL to bfd_plugin_close_file_descriptor if
> 	it isn't an archive member.
> 
> ld/
> 
> 	PR ld/18028
> 	* plugin.c (plugin_input_file): Add comments for abfd and ibfd.
> 	(plugin_object_p): Set input->ibfd to NULL if it isn't an
> 	archive member.

Approved - please apply to the branch and mainline.

Cheers
   Nick



More information about the Binutils mailing list