Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 2 Aug 2022 13:01:26 -0700
From: Fangrui Song <>
Cc: Cary Coutant <>
Subject: Re: [PATCH] elf.h: add ELFCOMPRESS_ZSTD

On 2022-08-02, Rich Felker wrote:
>On Mon, Jul 25, 2022 at 07:14:33PM -0700, Fangrui Song wrote:
>> see
>>   Add new ch_type value: ELFCOMPRESS_ZSTD
>> ---
>>  include/elf.h | 1 +
>>  1 file changed, 1 insertion(+)
>> diff --git a/include/elf.h b/include/elf.h
>> index 86e2f0bb..d2231ba0 100644
>> --- a/include/elf.h
>> +++ b/include/elf.h
>> @@ -436,6 +436,7 @@ typedef struct {
>>  } Elf64_Chdr;
>>  #define ELFCOMPRESS_ZLIB	1
>> +#define ELFCOMPRESS_ZSTD	2
>>  #define ELFCOMPRESS_LOOS	0x60000000
>>  #define ELFCOMPRESS_HIOS	0x6fffffff
>>  #define ELFCOMPRESS_LOPROC	0x70000000
>> --
>> 2.37.1
>Is this actually an adopted standard? It's not clear from the link
>above whether there's anything authoritative going on or a proposal
>that some people like.

I think so, from Cary's
"I will add this to the ELF spec, as proposed below:".

This question isn't alone. Carlos O'Donell asked on
"Is there a public repo that I can use to cross-check the glibc value with the accepted ELF gABI value?"

Let me summarize the history:

Roughly since 2015
("Heads Up: John Wolfe no longer at Xinuos Inc"), the official generic ABI website no longer gets update. (I believe the last
change was
"Proposed gABI addition: SHF_COMPRESS").

Since ("Ongoing Maintenance of the gABI"), 
Cary Coutant takes on the maintenance of the gABI spec.

At the moment there is no repository. If help is needed, I am happy to convert the
/developers/gabi/latest .html files to Markdown or reST.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.