Searched refs:sh_entsize (Results 1 – 12 of 12) sorted by relevance
116 shdr->sh_entsize = 0; in jit_add_eh_frame_info()150 shdr->sh_entsize = 0; in jit_add_eh_frame_info()252 shdr->sh_entsize = 0; in jit_write_elf()298 shdr->sh_entsize = 0; in jit_write_elf()334 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()377 shdr->sh_entsize = 0; in jit_write_elf()421 shdr->sh_entsize = 0; in jit_write_elf()
542 shdr->sh_entsize = 0; in jit_add_debug_info()576 shdr->sh_entsize = 0; in jit_add_debug_info()610 shdr->sh_entsize = 0; in jit_add_debug_info()
403 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()410 *plt_header_size = shdr_plt->sh_entsize; in get_plt_sizes()411 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()490 if (!scn || !rela_dyn_shdr.sh_link || !rela_dyn_shdr.sh_entsize) in get_rela_dyn_info()493 di->nr_entries = rela_dyn_shdr.sh_size / rela_dyn_shdr.sh_entsize; in get_rela_dyn_info()588 if (!scn || !shdr.sh_entsize) in dso__synthesize_plt_got_symbols()594 for (i = 0; i < shdr.sh_size; i += shdr.sh_entsize) { in dso__synthesize_plt_got_symbols()597 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols()732 ri.nr_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols()1610 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym_internal()
199 return sec->sh.sh_size / sec->sh.sh_entsize; in sec_num_entries()211 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel()222 return reloc->sec->sh.sh_entsize < 16; in is_32bit_reloc()
326 Elf32_Word sh_entsize; member339 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
426 sec->shdr->sh_entsize = 0; in init_output_elf()468 sec->shdr->sh_entsize = sizeof(Elf64_Sym); in init_output_elf()918 if (sec->shdr->sh_entsize != sizeof(Elf64_Sym)) in linker_sanity_check_elf_symtab()920 if (sec->shdr->sh_size % sec->shdr->sh_entsize != 0) in linker_sanity_check_elf_symtab()935 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_symtab()992 if (sec->shdr->sh_entsize != sizeof(Elf64_Rel)) in linker_sanity_check_elf_relos()994 if (sec->shdr->sh_size % sec->shdr->sh_entsize != 0) in linker_sanity_check_elf_relos()1032 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_relos()1186 shdr->sh_entsize = src_sec->shdr->sh_entsize; in init_sec()1225 if (dst->shdr->sh_entsize != src->shdr->sh_entsize) { in secs_match()[all …]
129 iter->nr_syms = iter->syms->d_size / sh.sh_entsize; in elf_sym_iter_new()
3955 if (sh->sh_entsize != sizeof(Elf64_Rel) || in bpf_object__elf_collect()4226 if (!sh || sh->sh_entsize != sizeof(Elf64_Sym)) in bpf_object__collect_externs()4233 n = sh->sh_size / sh->sh_entsize; in bpf_object__collect_externs()4724 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_prog_relos()7206 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_map_relos()9894 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_st_ops_relos()
152 num_sym = sections[i].sh_size / sections[i].sh_entsize; in encl_get_entry()
629 Elf64_Xword entsize = symtab->sh.sh_entsize; in elf_update_symbol()814 symtab->sh.sh_size += symtab->sh.sh_entsize; in __elf_create_symbol()1175 sec->sh.sh_entsize = entsize; in elf_create_section()
2311 if (sec->sh.sh_entsize != 8) { in read_annotate()2317 sec->sh.sh_entsize = 8; in read_annotate()2321 type = *(u32 *)(sec->data->d_buf + (reloc_idx(reloc) * sec->sh.sh_entsize) + 4); in read_annotate()
444 n = sh.sh_size / sh.sh_entsize; in symbols_collect()
Completed in 58 milliseconds