diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2021-04-23 11:13:45 -0700 | 
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-23 14:05:27 -0700 | 
| commit | f2644fb44de9abd54e57b55f584c7c67526f7c02 (patch) | |
| tree | 1567fc448eb051723471dea24054880933689bf0 /lib/mpi/mpi-add.c | |
| parent | b131aed910097a2eeac8180bf3cf214eea475d9a (diff) | |
selftests/bpf: Add function linking selftest
Add selftest validating various aspects of statically linking functions:
  - no conflicts and correct resolution for name-conflicting static funcs;
  - correct resolution of extern functions;
  - correct handling of weak functions, both resolution itself and libbpf's
    handling of unused weak function that "lost" (it leaves gaps in code with
    no ELF symbols);
  - correct handling of hidden visibility to turn global function into
    "static" for the purpose of BPF verification.
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/20210423181348.1801389-16-andrii@kernel.org
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
