Lines Matching refs:sym_type

789 		int sym_type = ELF64_ST_TYPE(sym->st_info);  in linker_sanity_check_elf_symtab()  local
813 if (sym_type != STT_NOTYPE || sym_bind == STB_LOCAL in linker_sanity_check_elf_symtab()
827 if (sym_type == STT_SECTION) { in linker_sanity_check_elf_symtab()
888 size_t sym_type = ELF64_R_TYPE(relo->r_info); in linker_sanity_check_elf_relos() local
890 if (sym_type != R_BPF_64_64 && sym_type != R_BPF_64_32 && in linker_sanity_check_elf_relos()
891 sym_type != R_BPF_64_ABS64 && sym_type != R_BPF_64_ABS32) { in linker_sanity_check_elf_relos()
893 i, sec->sec_idx, sym_type, obj->filename); in linker_sanity_check_elf_relos()
1797 static void sym_update_type(Elf64_Sym *sym, int sym_type) in sym_update_type() argument
1799 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1817 int name_off, sym_type, sym_bind, sym_vis, err; in linker_append_elf_sym() local
1823 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1840 if (sym_type == STT_SECTION && dst_sec->sec_sym_idx) { in linker_append_elf_sym()
1943 sym_update_type(dst_sym, sym_type); in linker_append_elf_sym()
1981 if (sym_type == STT_SECTION && dst_sym) { in linker_append_elf_sym()
2060 size_t src_sym_idx, dst_sym_idx, sym_type; in linker_append_elf_relos() local
2068 sym_type = ELF64_R_TYPE(src_rel->r_info); in linker_append_elf_relos()
2069 dst_rel->r_info = ELF64_R_INFO(dst_sym_idx, sym_type); in linker_append_elf_relos()
2103 int sym_type, const char *sym_name) in find_sym_by_name() argument
2114 if (ELF64_ST_TYPE(sym->st_info) != sym_type) in find_sym_by_name()