https://sourceware.org/bugzilla/show_bug.cgi?id=31884
Bug ID: 31884 Summary: Compressed .strtab and .symtab Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: i at maskray dot me Target Milestone: --- In ELF executables and DSOs, .symtab and .strtab sections can consume a significant portion of the file size (10+% or even 20+%). In many scenarios, we cannot remove them due to symbolizers (crash reporters, Linux perf, etc) and other analysis tools. When .gnu_debugdata (MiniDebugInfo) is used, the separate debug files contain .symtab/.strtab. The standard SHF_COMPRESSED feature can be used with non-SHF_ALLOC sections. It’s natural to compress .symtab and .strtab. This usage doesn't need amendment to the generic ABI. * ld/objcopy: If --compress-sections (PR 27452) is supported, just specify: --compress-sections .strtab=zstd --compress-sections .symtab=zstd * BFD (nm, objdump, etc): reader support * readelf: reader support -- You are receiving this mail because: You are on the CC list for the bug.