Home
last modified time | relevance | path

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

/third_party/libbpf/src/
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()
1790 static void sym_update_visibility(Elf64_Sym *sym, int sym_vis) in sym_update_visibility() argument
1796 sym->st_other |= sym_vis; in sym_update_visibility()
1805 int name_off, sym_type, sym_bind, sym_vis, err; in linker_append_elf_sym() local
1813 sym_vis = ELF64_ST_VISIBILITY(sym->st_other); in linker_append_elf_sym()
1908 if (sym_vis > ELF64_ST_VISIBILITY(dst_sym->st_other)) in linker_append_elf_sym()
1909 sym_update_visibility(dst_sym, sym_vis); in linker_append_elf_sym()