diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-13 18:28:51 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-13 18:38:50 +0000 |
| commit | 774bec3fddcccb0b36f319c6d6e8148dc5e8c937 (patch) | |
| tree | 063f78e8496f744cac164ad665b672c4e3927c98 /tools/lib/bpf/libbpf.c | |
| parent | tools: Fix up BITS_PER_LONG setting (diff) | |
| download | kernel-774bec3fddcccb0b36f319c6d6e8148dc5e8c937.tar.gz kernel-774bec3fddcccb0b36f319c6d6e8148dc5e8c937.zip | |
objtool: Add fallback from ELF_C_READ_MMAP to ELF_C_READ
Not all libelf implementations have this "Please, ELF_C_READ, but use
mmap if possible" elf_begin() cmd, so provide a fallback to plain old
ELF_C_READ.
Case in point: Alpine Linux 3.4.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
