https://sourceware.org/bugzilla/show_bug.cgi?id=33584
--- Comment #6 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=19c4084cfaadabe7d514a98019d68fe0a8bb8940 commit 19c4084cfaadabe7d514a98019d68fe0a8bb8940 Author: H.J. Lu <[email protected]> Date: Tue Oct 28 20:21:19 2025 +0800 lto: Set plugin_format to bfd_plugin_no only if known_used is set commit b21318bd2c29fcca8f99c1de7facdaa5cb2e66e2 Author: Joseph Myers <[email protected]> Date: Thu May 11 14:31:09 2023 +0000 Add LDPT_REGISTER_CLAIM_FILE_HOOK_V2 linker plugin hook [GCC PR109128] added the LDPT_REGISTER_CLAIM_FILE_HOOK_V2 linker plugin hook for offload support. Since the V2 linker plugin hook doesn't claim the offload IR if known_used is unset, set input plugin_format to bfd_plugin_no only if known_used is set or the V2 linker plugin hook is unused. PR ld/33584 * plugin.c (plugin_object_p): Set plugin_format to bfd_plugin_no only if known_used is set or the V2 linker plugin hook is unused. Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
