mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Fangrui Song <i@maskray.me>
To: musl@lists.openwall.com
Cc: Fangrui Song <i@maskray.me>
Subject: [musl] [PATCH] elf.h: add ELFCOMPRESS_ZSTD
Date: Mon, 25 Jul 2022 19:14:33 -0700	[thread overview]
Message-ID: <20220726021433.856569-1-i@maskray.me> (raw)

see

  https://groups.google.com/g/generic-abi/c/satyPkuMisk
  Add new ch_type value: ELFCOMPRESS_ZSTD
---
 include/elf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/elf.h b/include/elf.h
index 86e2f0bb..d2231ba0 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -436,6 +436,7 @@ typedef struct {
 } Elf64_Chdr;
 
 #define ELFCOMPRESS_ZLIB	1
+#define ELFCOMPRESS_ZSTD	2
 #define ELFCOMPRESS_LOOS	0x60000000
 #define ELFCOMPRESS_HIOS	0x6fffffff
 #define ELFCOMPRESS_LOPROC	0x70000000
-- 
2.37.1


             reply	other threads:[~2022-07-26  2:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  2:14 Fangrui Song [this message]
2022-08-02 17:55 ` Rich Felker
2022-08-02 20:01   ` Fangrui Song
2022-08-02 23:09     ` Cary Coutant
2022-08-03 10:00     ` Szabolcs Nagy

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=20220726021433.856569-1-i@maskray.me \
    --to=i@maskray.me \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).