From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26004 invoked from network); 2 Aug 2022 20:01:43 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 2 Aug 2022 20:01:43 -0000 Received: (qmail 1764 invoked by uid 550); 2 Aug 2022 20:01:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1729 invoked from network); 2 Aug 2022 20:01:40 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cTxQx2kbdvNnsp6/RIumN7T9sNRyjxdzHV9uma63XL4=; b=PlfWALYNWxcPot6Uge018KKfeiXLly4A71HPwdX4vI1yNT5wUxOr4AGBxqbEyx9fWO AaPSuMPs77AAP6dR+wEt09hs+qNjU7N2o+wo+LuXI2uJQVkCnLXzty6b6h79d1AnDcfn 5HUlHemZbGeLHEhFPhXdsBhyfPBaGI0mVsSdbg2ZK9pgqNlVWb0o5cYGsOXk/e9k7Z8S j4yRbkkuZdXi2Vuo5zJ1C1g3+0p6FiPe6cHuqWyIsHesTSAPhsvwK58nsb0d8rJ/SeGl zas5IEW4/hGkBwlSvBHY7Ea6m0LK4oGHiQvqoHPRWZHD1bEnAAw/13O4a+IjGT9mk7kB LR8g== X-Gm-Message-State: ACgBeo0A6e1FrEXc4uCX6JTgqKdxVfNF1WFJ2TMr83dxzeMV2Dk0epAA HOvDqcXNG4YT7A6PDj56s2TlKKwwBDA= X-Google-Smtp-Source: AA6agR4DQ6yIe/aZn0BDbtNhonTtl9m4lxACBiem05WO/adUl0hq+M04pnRgEEfnRQPRLp31/n9Nhg== X-Received: by 2002:a17:90b:350c:b0:1f5:e4b:2884 with SMTP id ls12-20020a17090b350c00b001f50e4b2884mr1184058pjb.46.1659470487804; Tue, 02 Aug 2022 13:01:27 -0700 (PDT) Date: Tue, 2 Aug 2022 13:01:26 -0700 From: Fangrui Song To: musl@lists.openwall.com Cc: Cary Coutant Message-ID: <20220802200126.7mnqo67w7aegtog7@gmail.com> References: <20220726021433.856569-1-i@maskray.me> <20220802175517.GR7074@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20220802175517.GR7074@brightrain.aerifal.cx> Subject: Re: [musl] [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 >> >> https://groups.google.com/g/generic-abi/c/satyPkuMisk >> 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. > >Rich I think so, from Cary's https://groups.google.com/g/generic-abi/c/satyPkuMisk/m/KwTF_U8rBAAJ "I will add this to the ELF spec, as proposed below:". This question isn't alone. Carlos O'Donell asked on https://sourceware.org/pipermail/libc-alpha/2022-July/141130.html "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 https://groups.google.com/g/generic-abi/c/IakWYdGABjQ/m/7zTiAVveBAAJ ("Heads Up: John Wolfe no longer at Xinuos Inc"), the official generic ABI website http://www.sco.com/developers/gabi/latest/contents.html no longer gets update. (I believe the last change was https://groups.google.com/g/generic-abi/c/dBOS1H47Q64/m/jwc9xA9o0IsJ "Proposed gABI addition: SHF_COMPRESS"). Since https://groups.google.com/g/generic-abi/c/9OO5vhxb00Y/m/Y0WthoOcCQAJ ("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.