[PATCH] bfd: Require the plugin target for slim LTO IR object

H.J. Lu hjl.tools@gmail.com
Fri Aug 15 22:50:45 GMT 2025


On Fri, Aug 15, 2025 at 3:28 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Fri, Aug 15, 2025 at 11:25:05AM -0700, H.J. Lu wrote:
> >       * format.c (bfd_check_format_matches): Require the plugin target
> >       for slim LTO IR object.
>
> This needs a solid explanation of exactly why it is necessary.
>

We can pass NULL as the target since non-plugin targets won't match
slim LTO IR object.

-- 
H.J.


More information about the Binutils mailing list