[PATCH] objcopy: Correctly check archive element for LTO IR

H.J. Lu hjl.tools@gmail.com
Fri Jun 13 05:18:20 GMT 2025


Pass archive element, instead of archive, to bfd_plugin_target_p to check
for LTO IR in archive element.

PR binutils/33078
* objcopy.c (copy_archive): Correctly check archive element for
LTO IR.
* testsuite/binutils-all/objcopy.exp (strip_test_archive): New.
Run strip_test_archive.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-objcopy-Correctly-check-archive-element-for-LTO-IR.patch
Type: text/x-patch
Size: 3736 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250613/9234a594/attachment.bin>


More information about the Binutils mailing list