[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32324] Stripping BOLT'ed binaries leads to unwanted behavi
From: |
avieira at gcc dot gnu.org |
Subject: |
[Bug binutils/32324] Stripping BOLT'ed binaries leads to unwanted behaviour |
Date: |
Mon, 02 Dec 2024 14:17:59 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32324
--- Comment #2 from Andre Vieira <avieira at gcc dot gnu.org> ---
Further investigations showed that things started to go wrong when the LOAD
header in question is given an offset of where the previous header left off,
which is normally fine, but this is severely under the 'Align' value of the new
header (0x200000). With the change described in this RFC:
https://sourceware.org/pipermail/binutils/2024-December/137912.html
the header seems to be copied correctly and the resulting binary executes fine.
Doubt this is the right approach, but maybe it gives someone an idea on how to
fix this properly?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/32324] Stripping BOLT'ed binaries leads to unwanted behaviour,
avieira at gcc dot gnu.org <=