From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36520 invoked by alias); 19 Jun 2018 20:34:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 36460 invoked by uid 89); 19 Jun 2018 20:34:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.9 required=5.0 tests=BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=is, H*Ad:U*rth, rth, is=c2?= X-HELO: gnu.wildebeest.org Message-ID: <1529440472.12946.129.camel@klomp.org> Subject: Re: [PATCH] elf.h: Add BPF relocation types. From: Mark Wielaard To: Florian Weimer , libc-alpha@sourceware.org Cc: Yonghong Song , Richard Henderson Date: Tue, 19 Jun 2018 20:34:00 -0000 In-Reply-To: References: <20180616214515.10737-1-mark@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 X-SW-Source: 2018-06/txt/msg00571.txt.bz2 On Tue, 2018-06-19 at 22:06 +0200, Florian Weimer wrote: > On 06/16/2018 11:45 PM, Mark Wielaard wrote: > > The BPF ELF format has new relocation types R_BPF_64_64 and R_BPF_64_32. > > The existing R_BPF_MAP_FD was an extension that never got implemented. > > Remove it, because its constant conflicts with the official R_BPF_64_64. >=20 > Is there an ABI manual against which we could review this change? >=20 > The last change said that this was added to the Generic ABI=C2=A0 > > , but there is= =C2=A0 > no evidence of that. Only the EM values are, since they are generic. It just takes a while before they make it to the public website. rth has an email from the maintainer though with the assigned value. The relocation constants don't have a separate ABI manual (because BPF isn't really a full blown architecture/abi). Those are kept in sync between the projects handling BPF elf files (which is this patch, which is a prerequisite for getting the same constants into elfutils, because we see the glibc elf.h as the master copy that holds all GNU/Linux ELF constants.) Thanks, Mark