[2.45 PATCH 0/3] Backport strip fixes
Sam James
sam@gentoo.org
Sat Aug 30 22:13:31 GMT 2025
OK? I appreciate there's been a bunch of followup changes but some users
fell afoul of this and it'd be nice to be able to just direct others to
the branch.
Alan, I don't know if you want to include 9adb8ba865f2 or not. I assumed
no and didn't test it on top though I'm sure it's fine. I can chuck it in
if so.
H.J. Lu (3):
strip: Don't check target_defaulted in input BFD
strip: Treat "default" output_target as unspecified
strip: Don't treat fat IR objects as plugin object
bfd/archive.c | 10 +
bfd/bfd-in2.h | 3 +
bfd/bfd.c | 3 +
bfd/format.c | 25 ++-
bfd/plugin.c | 3 +
binutils/nm.c | 9 +-
binutils/objcopy.c | 36 +++-
.../binutils-all/x86-64/pr33230.obj.bz2 | Bin 0 -> 411 bytes
.../testsuite/binutils-all/x86-64/x86-64.exp | 69 +++++++
ld/testsuite/ld-plugin/lto-binutils.exp | 175 ++++++++++++++++++
ld/testsuite/ld-plugin/pr33246.c | 4 +
11 files changed, 322 insertions(+), 15 deletions(-)
create mode 100644 binutils/testsuite/binutils-all/x86-64/pr33230.obj.bz2
create mode 100644 ld/testsuite/ld-plugin/pr33246.c
--
2.51.0
More information about the Binutils
mailing list