From 90ed08815bfc98baee9af7c3780e994df73df533 Mon Sep 17 00:00:00 2001 From: Koutheir Attouchi Date: Thu, 29 Jan 2026 11:18:57 -0500 Subject: [PATCH] Added ELF constant for Zstandard compression algorithm --- src/elf/compression_header.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/elf/compression_header.rs b/src/elf/compression_header.rs index 1dd7aa136..dc64cddba 100644 --- a/src/elf/compression_header.rs +++ b/src/elf/compression_header.rs @@ -18,6 +18,8 @@ macro_rules! elf_compression_header { /// ZLIB/DEFLATE algorithm. pub const ELFCOMPRESS_ZLIB: u32 = 1; +/// Zstandard algorithm. +pub const ELFCOMPRESS_ZSTD: u32 = 2; /// Start of OS-specific. pub const ELFCOMPRESS_LOOS: u32 = 0x6000_0000; /// End of OS-specific.