Summary: | binutils: support zstd for SHF_COMPRESSED debug sections | ||
---|---|---|---|
Product: | binutils | Reporter: | Fangrui Song <i> |
Component: | binutils | Assignee: | Fangrui Song <i> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | guillaume, hjl.tools, mliska, nick.alcock, nickc, sam, trass3r |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
See Also: |
https://sourceware.org/bugzilla/show_bug.cgi?id=29640 https://sourceware.org/bugzilla/show_bug.cgi?id=29641 |
||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Fangrui Song
2022-07-24 07:17:11 UTC
Add more tools to the list: * nm * addr2line For objcopy --compress-debug-sections=zstd , I think it should apply only to uncompressed .debug_* sections. If a section is compressed by zlib, the format should not change. If a user wants to ensure zlib sections are converted to zstd, run --decompress-debug-sections first. https://sourceware.org/pipermail/gdb-patches/2022-September/191915.html [PATCH] binutils, gdb: support zstd compressed debug sections (In reply to Fangrui Song from comment #2) > https://sourceware.org/pipermail/gdb-patches/2022-September/191915.html > [PATCH] binutils, gdb: support zstd compressed debug sections The latest version is at https://sourceware.org/pipermail/binutils/2022-September/123085.html . The gdb part has been approved. Fixed with commit 2cac01e3ff |