[Bug find-debuginfo/33827] New: Add find-debugedit --check-elf flag to run eu-elflint

mark at klomp dot org sourceware-bugzilla@sourceware.org
Sat Jan 24 16:05:40 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=33827

            Bug ID: 33827
           Summary: Add find-debugedit --check-elf flag to run eu-elflint
           Product: debugedit
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: find-debuginfo
          Assignee: mark at klomp dot org
          Reporter: mark at klomp dot org
                CC: david.abdurachmanov at gmail dot com,
                    debugedit at sourceware dot org, yaneti at declera dot com
  Target Milestone: ---

As shown in bug #33789 it would be useful to be able to run eu-elflint before
and/or after debugedit (and other tools) have tweaked ELF files. Some
transformations triggered by find-debuginfo might corrupt some ELF (or DWARF)
constructs. It would also be useful to know whether the ELF (or AR archive) was
correct in the first place.

Add an --check-elf flag to find-debuginfo that would run eu-elflint --gnu on
any ELF and AR files being processed. Run eu-elflint --debug on the separate
.debug files produced. Possibly exit with failure status if eu-elflint reports
any errors (this might be too strict, eu-elflint often expects just what the
GNU toolchain, compiler, linker, produces).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list