[PATCH v2] strip: Add GCC LTO IR support

H.J. Lu hjl.tools@gmail.com
Wed May 14 02:39:35 GMT 2025


On Wed, May 14, 2025 at 9:39 AM Alan Modra <amodra@gmail.com> wrote:
>
> On Tue, May 13, 2025 at 09:24:51AM +0800, H.J. Lu wrote:
> > On Mon, May 5, 2025 at 2:20 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> > Do you have any comments on this patch?
> >
> > https://sourceware.org/pipermail/binutils/2025-May/140875.html
>
> The "stat returns negative size" check seems to be duplicated.

Fixed.

> This one needs fixing for !BFD_SUPPORTS_PLUGINS targets too.
> objcopy.c:171:13: error: ‘lto_sections_removed’ defined but not used [-Werror=unused-variable]
>

Fixed.

Here is the v2 patch.  OK for master?

Thanks.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-strip-Add-GCC-LTO-IR-support.patch
Type: text/x-patch
Size: 22741 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250514/d3a5de3e/attachment-0001.bin>


More information about the Binutils mailing list