From: Fangrui Song Date: Thu, 11 Aug 2022 04:46:09 +0000 (-0700) Subject: elf.h: Add ELFCOMPRESS_ZSTD X-Git-Tag: glibc-2.37~435 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61d2066c193472ca324b851e7f9b3668592913f0;p=thirdparty%2Fglibc.git 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 --- diff --git a/elf/elf.h b/elf/elf.h index 02a1b3f52fd..8d1c7fe7e60 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. */