aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-08-10 21:46:09 -0700
committerFangrui Song <maskray@google.com>2022-08-10 21:46:09 -0700
commit61d2066c193472ca324b851e7f9b3668592913f0 (patch)
treee0c587a03664f61f08663be2e390a26a836a960e /elf
parent2ed26bca997a8fc898f4cb94484abaee2f307311 (diff)
downloadglibc-61d2066c193472ca324b851e7f9b3668592913f0.tar
glibc-61d2066c193472ca324b851e7f9b3668592913f0.tar.gz
glibc-61d2066c193472ca324b851e7f9b3668592913f0.tar.bz2
glibc-61d2066c193472ca324b851e7f9b3668592913f0.zip
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>
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h1
1 files changed, 1 insertions, 0 deletions
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. */