[Bug debugedit/32692] New: Add new add-minidebug binary
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Fri Feb 14 10:52:10 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32692
Bug ID: 32692
Summary: Add new add-minidebug binary
Product: debugedit
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: debugedit
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: debugedit at sourceware dot org
Target Milestone: ---
Currently find-debuginfo has an add_minidebug function that uses readelf, awk,
nm (twice), sort, comm, xz and objcopy (twice) to extract and readd (some)
symbols as a compressed ELF image in a separate (.gnu_debugdata) section.
This is fragile and depending on how binutils was compiled prevents cross-arch
symbol manipulation.
It would be better and more efficient to implement this as a simple executable
based on elfutils libelf which is arch agnostic by default.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list