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()
511 sec->reloc->sh.sh_size += sec->reloc->sh.sh_entsize; in elf_add_reloc()
605 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relocs()
737 len = strtab->sh.sh_size; in elf_add_string()
738 strtab->sh.sh_size += data->d_size; in elf_add_string()
793 sym->idx = symtab->sh.sh_size / sizeof(sym->sym); in elf_create_undef_symbol()
795 symtab->sh.sh_size += data->d_size; in elf_create_undef_symbol()
817 symtab_shndx->sh.sh_size += 4; in elf_create_undef_symbol()
883 sec->sh.sh_size = size; in elf_create_section()
988 buf = malloc(sec->sh.sh_size); in elf_rebuild_rel_reloc_section()
995 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rel_reloc_section()
1019 buf = malloc(sec->sh.sh_size); in elf_rebuild_rela_reloc_section()
1026 sec->data->d_size = sec->sh.sh_size; in elf_rebuild_rela_reloc_section()