[PATCH] Fix problem with COFF and plugins

Alan Modra amodra@gmail.com
Fri Jun 28 02:12:00 GMT 2019


On Tue, Jun 11, 2019 at 08:11:31PM +0930, Alan Modra wrote:
> I think I prefer to change bfd_check_format_matches.  Since I don't
> have a good test environment for mingw, would you please test whether
> the following is good?

I didn't get a reply to this, so I'm going ahead with committing the
patch.

> 	* format.c (bfd_check_format_matches): Don't match plugin target
> 	if another target matches.  Expand comment.
> 	* targets.c (_bfd_target_vector): Move plugin_vec after all other
> 	non-corefile targets, outside !SELECT_VECS.
> 	* config.bfd: Don't handle targ=plugin here.
> 	* configure.ac: Don't add plugin to enable_targets or handle in
> 	target loop setting selvecs and other target vars.
> 	* configure: Regenerate.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list