diff options
| author | 2021-05-06 22:41:13 -0700 | |
|---|---|---|
| committer | 2021-05-11 15:07:17 -0700 | |
| commit | 37f05601eabc29f82c03b461a22d8fafacd736d2 (patch) | |
| tree | 039736ac90f801217d5bb3a0689d535186f6762a /tools/lib/bpf/linker.c | |
| parent | Merge branch 'Reduce kmalloc / kfree churn in the verifier' (diff) | |
| download | linux-dev-37f05601eabc29f82c03b461a22d8fafacd736d2.tar.xz linux-dev-37f05601eabc29f82c03b461a22d8fafacd736d2.zip | |
bpftool: Strip const/volatile/restrict modifiers from .bss and .data vars
Similarly to .rodata, strip any const/volatile/restrict modifiers when
generating BPF skeleton. They are not helpful and actually just get in the way.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210507054119.270888-2-andrii@kernel.org
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions
