public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf.h: Add ELFCOMPRESS_ZSTD
@ 2022-08-11  4:46 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2022-08-11  4:46 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61d2066c193472ca324b851e7f9b3668592913f0

commit 61d2066c193472ca324b851e7f9b3668592913f0
Author: Fangrui Song <maskray@google.com>
Date:   Wed Aug 10 21:46:09 2022 -0700

    elf.h: Add ELFCOMPRESS_ZSTD
    
    From the approved generic ABI proposal
    https://groups.google.com/g/generic-abi/c/satyPkuMisk
    ("Add new ch_type value: ELFCOMPRESS_ZSTD").
    
    Reviewed-by: Florian Weimer <fweimer@redhat.com>

Diff:
---
 elf/elf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elf/elf.h b/elf/elf.h
index 02a1b3f52f..8d1c7fe7e6 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -506,6 +506,7 @@ typedef struct
 
 /* Legal values for ch_type (compression algorithm).  */
 #define ELFCOMPRESS_ZLIB	1	   /* ZLIB/DEFLATE algorithm.  */
+#define ELFCOMPRESS_ZSTD	2	   /* Zstandard algorithm.  */
 #define ELFCOMPRESS_LOOS	0x60000000 /* Start of OS-specific.  */
 #define ELFCOMPRESS_HIOS	0x6fffffff /* End of OS-specific.  */
 #define ELFCOMPRESS_LOPROC	0x70000000 /* Start of processor-specific.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-11  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  4:46 [glibc] elf.h: Add ELFCOMPRESS_ZSTD Fangrui Song

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).