[PATCH 0/2] bfd/x86: Fix handling of secondary relocations on objcopy/strip
Antoine Damhet
adamhet@scaleway.com
Mon Nov 9 12:31:45 GMT 2026
As outlined in the bug[1], relocations of '.klp.rela.*' sections would
be silently corrupted by both strip and objcopy. This series restore the
original behavior for both regressions.
[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=34970
Signed-off-by: Antoine Damhet <adamhet@scaleway.com>
---
Antoine Damhet (2):
bfd: Fix writing of secondary reloc sections
x86: Restore generic copy of special section fields
bfd/elf.c | 2 +-
bfd/elfxx-x86.c | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
base-commit: 15c32ab9aa24b33ae4304a416f3618ca0e3bccf9
change-id: 20261106-fix-livepatch-511b09339c7d
Best regards,
--
Antoine 'xdbob' Damhet
Engineer @scaleway
More information about the Binutils
mailing list