From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7088 invoked by alias); 21 Jun 2018 14:53:43 -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 6557 invoked by uid 89); 21 Jun 2018 14:53:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:546 X-HELO: mx1.redhat.com Subject: Re: [PATCH] elf.h: Add BPF relocation types. To: Mark Wielaard , libc-alpha@sourceware.org Cc: Yonghong Song , Richard Henderson References: <20180616214515.10737-1-mark@klomp.org> From: Florian Weimer Message-ID: Date: Thu, 21 Jun 2018 14:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180616214515.10737-1-mark@klomp.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-06/txt/msg00677.txt.bz2 On 06/16/2018 11:45 PM, Mark Wielaard wrote: > diff --git a/elf/elf.h b/elf/elf.h > index a5b2811ce0..75043bcbf9 100644 > --- a/elf/elf.h > +++ b/elf/elf.h > @@ -3850,7 +3850,8 @@ enum > /* BPF specific declarations. */ > > #define R_BPF_NONE 0 /* No reloc */ > -#define R_BPF_MAP_FD 1 /* Map fd to pointer */ > +#define R_BPF_64_64 1 > +#define R_BPF_64_32 10 > > /* Imagination Meta specific relocations. */ This still needs review from someone experienced with updates. Thanks, Florian