https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67871
Jonathan Roelofs <jonathan at codesourcery dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #5 from Jonathan Roelofs <jonathan at codesourcery dot com> --- After further inspection, this looks like a binutils bug. Holding the gcc revision constant, I git-bisected, and ended up with this commit as the culprit: commit 5ae0078cd2b6b69e6119864e20987c8724916b29 Author: H.J. Lu <hjl.to...@gmail.com> Date: Wed Feb 11 05:01:03 2015 -0800 Merge linker plugin handling into BFD plugin support Linker plugin_maybe_claim is the interface of linker plugin support. This patch extracts linker plugin_maybe_claim into plugin_object_p and makes it available to BFD via a new function: void register_ld_plugin_object_p (const bfd_target *(*) (bfd *)); bfd_plugin_object_p calls plugin_object_p registered by linker first. It adds an enum bfd_plugin_format field and a pointer to plugin dummy BFD so that plugin_object_p stores plugin dummy BFD to allow plugin_maybe_claim to retrieve it later.