tools lib bpf: Use official ELF e_machine value
authorWang Nan <wangnan0@huawei.com>
Mon, 18 Jul 2016 06:01:08 +0000 (06:01 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Jul 2016 13:08:53 +0000 (10:08 -0300)
commit9b16137ab0feec00f8c9b52a63d4034a6d199d30
treeec26a5f8b2c9ab6f3f08022792a668a1cf625dc4
parent674d2d69b14f677a771ceec4b48bfade94a0c5f1
tools lib bpf: Use official ELF e_machine value

New LLVM will issue newly assigned EM_BPF machine code. The new code
will be propagated to glibc and libelf.

This patch introduces the new machine code to libbpf.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1468821668-60088-1-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/libbpf.c