Lines Matching refs:sh_size
336 if (sec->sh.sh_size != 0) { in read_sections()
343 sec->data->d_size != sec->sh.sh_size) { in read_sections()
351 elf->text_size += sec->sh.sh_size; in read_sections()
422 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols()
576 sec->reloc->sh.sh_size += sec->reloc->sh.sh_entsize; in elf_add_reloc()
674 symtab->sh.sh_size += entsize; in elf_update_symbol()
683 symtab_shndx->sh.sh_size += sizeof(Elf32_Word); in elf_update_symbol()
767 new_idx = symtab->sh.sh_size / symtab->sh.sh_entsize; in elf_create_section_symbol()
877 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relocs()
1009 len = strtab->sh.sh_size; in elf_add_string()
1010 strtab->sh.sh_size += data->d_size; in elf_add_string()
1071 sec->sh.sh_size = size; in elf_create_section()
1176 buf = malloc(sec->sh.sh_size); in elf_rebuild_rel_reloc_section()
1183 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rel_reloc_section()
1207 buf = malloc(sec->sh.sh_size); in elf_rebuild_rela_reloc_section()
1214 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rela_reloc_section()