[Bug find-debuginfo/32693] New: Add new merge-notes binary
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Fri Feb 14 11:09:19 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32693
Bug ID: 32693
Summary: Add new merge-notes binary
Product: debugedit
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: find-debuginfo
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: debugedit at sourceware dot org
Target Milestone: ---
find-debuginfo uses binutils objcopy as follows:
# Compress any annobin notes in the original binary.
objcopy --merge-notes "$f" 2>/dev/null || true
This silently fails when objcopy doesn't support --merge-notes or in a
cross-arch environment when objcopy wasn't compiled with all architecture
support.
It would be more robust to just add this functionality by writing a simple
merge-notes executable based on elfutils libelf.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list