[PATCH] elf: Add declarations for BPF

Mark Wielaard mjw@redhat.com
Wed Jun 8 19:43:00 GMT 2016


On Wed, 2016-06-08 at 15:33 -0400, Carlos O'Donell wrote:
> How did we get a temporary value without knowing who to contact? :}

The glibc elf/elf.h file says how to construct one, and rth knows
l33t-speak! :)

        /* If it is necessary to assign new unofficial EM_* values,
        please
           pick large random numbers (0x8523, 0xa7f2, etc.) ... */
        
        #define EM_BPF         0xeb9f

Personally I like rth's suggestion best.
But an "official" number would be fine too of course.



More information about the Libc-alpha mailing list