public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* New ch_type value ELFCOMPRESS_ZSTD?
@ 2022-06-27  6:38 Fangrui Song
  2022-06-28 11:25 ` Nick Alcock
  0 siblings, 1 reply; 2+ messages in thread
From: Fangrui Song @ 2022-06-27  6:38 UTC (permalink / raw)
  To: binutils, gdb, gnu-gabi, gcc

I created https://groups.google.com/g/generic-abi/c/satyPkuMisk ("Add new
ch_type value: ELFCOMPRESS_ZSTD") after I saw that on LLVM side, Cole Kissane
proposes that we add Zstandard as new compression method (mainly for .debug*
sections, but also for some LLVM internal things)
https://discourse.llvm.org/t/rfc-zstandard-as-a-second-compression-method-to-llvm/63399

This makes a lot of sense to me as I know compression/uncompression takes a lot
of compile/link time.  If people agree that this is a good direction, I wish
that we can have a generic-abi value: ELFCOMPRESS_ZSTD 2.  If that does not
work, perhaps we need a GNU ABI value.

We will need features from a bunch of tools:

* GCC/Clang: perhaps we can introduce a new driver option -gz=zstd
* GNU assembler: add --compress-debug-sections=zstd
* GNU ld: add --compress-debug-sections=zstd
* objcopy/llvm-objcopy: add --compress-debug-sections=zstd
* gdb: support Zstandard
* elfutils: support Zstandard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-28 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27  6:38 New ch_type value ELFCOMPRESS_ZSTD? Fangrui Song
2022-06-28 11:25 ` Nick Alcock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).