summaryrefslogtreecommitdiffstats
path: root/tools/accounting
diff options
context:
space:
mode:
authorKun-Chuan Hsieh <jetswayss@gmail.com>2021-02-24 05:27:52 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2021-02-24 17:19:11 +0100
commit41462c6e730ca0e63f5fed5a517052385d980c54 (patch)
tree330797c85c66dd3ffba4ffb3e24b08ee123f3639 /tools/accounting
parentc41d81bfbb4579c3e583457e383dd63d026bf947 (diff)
downloadlinux-41462c6e730ca0e63f5fed5a517052385d980c54.tar.gz
linux-41462c6e730ca0e63f5fed5a517052385d980c54.tar.bz2
linux-41462c6e730ca0e63f5fed5a517052385d980c54.zip
tools/resolve_btfids: Fix build error with older host toolchains
Older libelf.h and glibc elf.h might not yet define the ELF compression types. Checking and defining SHF_COMPRESSED fix the build error when compiling with older toolchains. Also, the tool resolve_btfids is compiled with host toolchain. The host toolchain is more likely to be older than the cross compile toolchain. Fixes: 51f6463aacfb ("tools/resolve_btfids: Fix sections with wrong alignment") Signed-off-by: Kun-Chuan Hsieh <jetswayss@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/bpf/20210224052752.5284-1-jetswayss@gmail.com
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions