Lines Matching refs:sh_size
276 if (sec->sh.sh_size != 0) { in read_sections()
283 sec->data->d_size != sec->sh.sh_size) { in read_sections()
291 elf->text_size += sec->sh.sh_size; in read_sections()
356 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols()
512 sec->reloc->sh.sh_size += sec->reloc->sh.sh_entsize; in elf_add_reloc()
606 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relocs()
738 len = strtab->sh.sh_size; in elf_add_string()
739 strtab->sh.sh_size += data->d_size; in elf_add_string()
800 sec->sh.sh_size = size; in elf_create_section()
905 buf = malloc(sec->sh.sh_size); in elf_rebuild_rel_reloc_section()
912 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rel_reloc_section()
936 buf = malloc(sec->sh.sh_size); in elf_rebuild_rela_reloc_section()
943 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rela_reloc_section()