From 61d2066c193472ca324b851e7f9b3668592913f0 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 10 Aug 2022 21:46:09 -0700 Subject: 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 --- elf/elf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'elf/elf.h') 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. */ -- cgit 1.4.1