Home
last modified time | relevance | path

Searched refs:sym_vis (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Dlinker.c791 int sym_vis = ELF64_ST_VISIBILITY(sym->st_other); in linker_sanity_check_elf_symtab() local
807 if (sym_vis != STV_DEFAULT && sym_vis != STV_HIDDEN) { in linker_sanity_check_elf_symtab()
809 i, sec->sec_idx, sym_vis); in linker_sanity_check_elf_symtab()
1802 static void sym_update_visibility(Elf64_Sym *sym, int sym_vis) in sym_update_visibility() argument
1808 sym->st_other |= sym_vis; in sym_update_visibility()
1817 int name_off, sym_type, sym_bind, sym_vis, err; in linker_append_elf_sym() local
1825 sym_vis = ELF64_ST_VISIBILITY(sym->st_other); in linker_append_elf_sym()
1920 if (sym_vis > ELF64_ST_VISIBILITY(dst_sym->st_other)) in linker_append_elf_sym()
1921 sym_update_visibility(dst_sym, sym_vis); in linker_append_elf_sym()