diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2021-07-05 12:38:41 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-07-05 21:56:30 +0200 |
commit | 5a0ae9872d5cb5f27590eed168d4b3b144350ed7 (patch) | |
tree | 48356e321c2f3bd8f1aaf656b6ddf8d744910004 /tools/perf/scripts/python/libxed.py | |
parent | 0fc4dcc13f090c941abfab453a24945a4005b350 (diff) |
bpf, samples: Add -fno-asynchronous-unwind-tables to BPF Clang invocation
The samples/bpf Makefile currently compiles BPF files in a way that will
produce an .eh_frame section, which will in turn confuse libbpf and produce
errors when loading BPF programs, like:
libbpf: elf: skipping unrecognized data section(32) .eh_frame
libbpf: elf: skipping relo section(33) .rel.eh_frame for section(32) .eh_frame
Fix this by instruction Clang not to produce this section, as it's useless
for BPF anyway.
Suggested-by: Daniel Borkmann <[email protected]>
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions