Searched refs:sh_size (Results 1 – 13 of 13) sorted by relevance
145 if (sec->sh.sh_size % entry->size != 0) { in special_get_alts()150 nr_entries = sec->sh.sh_size / entry->size; in special_get_alts()
361 if (sec->sh.sh_size != 0 && !is_dwarf_section(sec)) { in read_sections()368 sec->data->d_size != sec->sh.sh_size) { in read_sections()814 symtab->sh.sh_size += symtab->sh.sh_entsize; in __elf_create_symbol()818 symtab_shndx->sh.sh_size += sizeof(Elf32_Word); in __elf_create_symbol()1113 len = strtab->sh.sh_size; in elf_add_string()1114 strtab->sh.sh_size += data->d_size; in elf_add_string()1174 sec->sh.sh_size = size; in elf_create_section()1285 u64 size = sec->sh.sh_size; in elf_truncate_section()
116 orc_list_add(&orc_list, &null, sec, sec->sh.sh_size); in orc_create()
89 orc_size = sh.sh_size; in orc_dump()
463 for (offset = 0; offset < sec->sh.sh_size; offset += insn->len) { in decode_instructions()483 sec->sh.sh_size - offset, in decode_instructions()506 if (func->offset == sec->sh.sh_size) { in decode_instructions()2212 if (sec->sh.sh_size % sizeof(struct unwind_hint)) { in read_unwind_hints()2219 for (i = 0; i < sec->sh.sh_size / sizeof(struct unwind_hint); i++) { in read_unwind_hints()
351 symtab->shdr->sh_size += sizeof(*sym); in add_new_sym()425 sec->shdr->sh_size = sec->sec_sz = 0; in init_output_elf()868 if (sec->shdr->sh_size != sec->data->d_size) { in linker_sanity_check_elf()935 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_symtab()1032 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_relos()1178 shdr->sh_size = 0; in init_sec()1235 if (dst_sec->sec_sz != src_sec->shdr->sh_size) in sec_content_is_same()1326 dst->shdr->sh_size = dst_final_sz; in extend_sec()2338 t->size = sec->shdr->sh_size; in linker_fixup_btf()2774 sec->shdr->sh_size = strs_sz; in bpf_linker__finalize()[all …]
3778 if (hdr->sh_type == SHT_PROGBITS && hdr->sh_size == 0 && in ignore_elf_section()3982 (size_t)sh->sh_size); in bpf_object__elf_collect()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()
322 Elf32_Word sh_size; member335 Elf64_Xword sh_size; /* Size of section in bytes */ member
188 (addr < (shdr.sh_addr + shdr.sh_size))) in elf_addr_to_index()493 di->nr_entries = rela_dyn_shdr.sh_size / rela_dyn_shdr.sh_entsize; in get_rela_dyn_info()594 for (i = 0; i < shdr.sh_size; i += shdr.sh_entsize) { in dso__synthesize_plt_got_symbols()667 plt_sym->end = plt_sym->start + shdr_plt.sh_size; in dso__synthesize_plt_symbols()732 ri.nr_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols()741 if (ri.nr_entries * plt_entry_size == shdr_plt.sh_size) in dso__synthesize_plt_symbols()1378 offs = shdr.sh_offset + shdr.sh_size; in max_text_section()1446 map__set_end(map, map__start(map) + shdr->sh_size); in dso__process_kernel_symbol()1518 map__set_end(curr_map, map__start(curr_map) + shdr->sh_size); in dso__process_kernel_symbol()1576 dso__set_text_end(dso, tshdr.sh_offset + tshdr.sh_size); in dso__load_sym_internal()[all …]
420 shdr->sh_size = sizeof(bnote); in jit_write_elf()
152 num_sym = sections[i].sh_size / sections[i].sh_entsize; in encl_get_entry()
199 return sec->sh.sh_size / sec->sh.sh_entsize; in sec_num_entries()
444 n = sh.sh_size / sh.sh_entsize; in symbols_collect()
Completed in 68 milliseconds