[PATCH v2] elf.h: Add ELFCOMPRESS_ZSTD
Florian Weimer
fweimer@redhat.com
Wed Aug 10 07:59:38 GMT 2022
* Fangrui Song via Libc-alpha:
> From the approved generic ABI proposal
> https://groups.google.com/g/generic-abi/c/satyPkuMisk
> ("Add new ch_type value: ELFCOMPRESS_ZSTD").
> ---
> Changes from v1
> * Update description: the proposal has been approved
> ---
> 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. */
Looks okay to me.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list