bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27452] ld: Support compressing arbitrary sections (generalized -


From: i at maskray dot me
Subject: [Bug ld/27452] ld: Support compressing arbitrary sections (generalized --compress-debug-sections=)
Date: Tue, 30 Apr 2024 19:57:21 +0000

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

--- Comment #3 from Fangrui Song <i at maskray dot me> ---
The actual form I plan to use in lld is:

--compress-sections <section-glob>={none,zlib,zstd}[:level]

zstd excels at scaling from low-ratio-very-fast to
high-ratio-pretty-slow. Some users prioritize speed and prefer disk read
speed, while others focus on achieving the highest compression ratio
possible, similar to traditional high-ratio codecs like LZMA.

e.g. ld.lld --compress-sections '.debug_*=1'

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]