diff options
author | 2023-12-19 12:03:24 +0100 | |
---|---|---|
committer | 2023-12-21 10:05:15 +0100 | |
commit | 812d8bf87678f77055b575d20636fdbbbf15edaf (patch) | |
tree | a5f0ff77c9bc6860c18f6a746118d98655ca4661 /net/core/dev.c | |
parent | Merge branch 'bpf-fix-warning-in-check_obj_size' (diff) | |
download | linux-rng-812d8bf87678f77055b575d20636fdbbbf15edaf.tar.xz linux-rng-812d8bf87678f77055b575d20636fdbbbf15edaf.zip |
libbpf: Skip DWARF sections in linker sanity check
clang can generate (with -g -Wa,--compress-debug-sections) 4-byte
aligned DWARF sections that declare themselves to be 8-byte aligned in
the section header. Since DWARF sections are dropped during linking
anyway, just skip running the sanity checks on them.
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Suggested-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Closes: https://lore.kernel.org/bpf/ZXcFRJVKbKxtEL5t@nz.home/
Link: https://lore.kernel.org/bpf/20231219110324.8989-1-hi@alyssa.is
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions