From: Cary Coutant <ccoutant@gmail.com>
To: Binutils <binutils@sourceware.org>
Subject: [ELF commit] Add new zstd compression algorithm
Date: Tue, 2 Aug 2022 14:31:32 -0700 [thread overview]
Message-ID: <CAJimCsGywbO1c+mNC-rCUW610cCkU8VHtG3mWtmyMq0i2DFPtQ@mail.gmail.com> (raw)
In the gABI group, we have approved the addition of a new compression
type, using the zstd library (zstandard.org). I'm about to commit this
patch to add the new value to <elf/common.h>.
https://groups.google.com/g/generic-abi/c/satyPkuMisk/m/dP2pPh9mAwAJ
-cary
include/elf/
* common.h: Add ELFCOMPRESS_ZSTD.
diff --git a/include/elf/common.h b/include/elf/common.h
index e4bc53e35b4..ebcd8f9e82c 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -588,6 +588,8 @@
/* Compression types. */
#define ELFCOMPRESS_ZLIB 1 /* Compressed with zlib. */
+#define ELFCOMPRESS_ZSTD 2 /* Compressed with zstd */
+ /* (see http://www.zstandard.org). */
#define ELFCOMPRESS_LOOS 0x60000000 /* OS-specific semantics, lo */
#define ELFCOMPRESS_HIOS 0x6FFFFFFF /* OS-specific semantics, hi */
#define ELFCOMPRESS_LOPROC 0x70000000 /* Processor-specific semantics, lo */
next reply other threads:[~2022-08-02 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 21:31 Cary Coutant [this message]
2022-08-02 22:43 ` Fangrui Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJimCsGywbO1c+mNC-rCUW610cCkU8VHtG3mWtmyMq0i2DFPtQ@mail.gmail.com \
--to=ccoutant@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).