History

bpf, elf: add official ELF machine define for eBPF

Add the official BPF ELF e_machine value that was assigned recently [1,2] and will be propagated to glibc, et al. LLVM is switching to it in 3.9 release. [1] https://github.com/llvm-mirror/llvm/commit/36b9c09330bfb5e771914cfe307588f30d5510d2 [2] http://lists.iovisor.org/pipermail/iovisor-dev/2016-June/000266.html

Daniel Borkmann committed 10 years ago

Commit b02b94b1 parent cc2e0b31 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/elf-em.h+1−0
@@ -40,6 +40,7 @@ · 39 unmodified lines
4040 #define EM_TILEPRO 188 /* Tilera TILEPro */
4141 #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */
4242 #define EM_TILEGX 191 /* Tilera TILE-Gx */
43+#define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */
4344 #define EM_FRV 0x5441 /* Fujitsu FR-V */
4445 #define EM_AVR32 0x18ad /* Atmel AVR32 */
4546

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t