[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29397] New: binutils: support zstd
From: |
i at maskray dot me |
Subject: |
[Bug binutils/29397] New: binutils: support zstd |
Date: |
Sun, 24 Jul 2022 07:17:11 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
Bug ID: 29397
Summary: binutils: support zstd
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: ---
Zstandard is a "universal" compression algorithm which scales from
low-ratio-very-fast to high-ratio-pretty-slow.
The generic-abi proposal https://groups.google.com/g/generic-abi/c/satyPkuMisk
("Add new ch_type value: ELFCOMPRESS_ZSTD") has been approved.
The default zstd -3 is easily 7x as fast as zlib level 1 while having a higher
compression ratio.
See also https://sourceware.org/pipermail/gnu-gabi/2022q2/000498.html
binutils may need to:
* optional: import zstd/ as a toplevel directory like zlib/
* add configure.ac option --with-system-zstd
* gas: add --compress-debug-sections=zstd
* objcopy: add --compress-debug-sections=zstd
* ld: support ELFCOMPRESS_ZSTD input, add --compress-debug-sections=zstd
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29397] New: binutils: support zstd,
i at maskray dot me <=