]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, elf: add official ELF machine define for eBPF
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 20 Jul 2016 18:17:47 +0000 (20:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 19:37:39 +0000 (12:37 -0700)
commit50dd4adefdf40afbcaaf0f6402e95405b09677d4
treef87f0e9cc50681476647347d760b95044d97aaf4
parentfc9240653a0ea52a5b3f3fd121eea81f772ae055
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

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/elf-em.h