Lines Matching refs:symdata
603 Elf_Data *symdata = elf_getdata (symscn, NULL); in add_new_section_symbols() local
606 symdata->d_size = shdr->sh_size; in add_new_section_symbols()
607 symdata->d_buf = xmalloc (symdata->d_size); in add_new_section_symbols()
608 record_new_data (symdata->d_buf); in add_new_section_symbols()
618 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, in add_new_section_symbols()
639 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, in add_new_section_symbols()
651 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, in add_new_section_symbols()
661 return symdata; in add_new_section_symbols()
793 Elf_Data *symdata = elf_getdata (symscn, NULL); in collect_symbols() local
801 GElf_Sym *sym = gelf_getsymshndx (symdata, shndxdata, i, in collect_symbols()
1643 Elf_Data *symdata = NULL; in copy_elided_sections() local
1748 symdata = elf_getdata (unstripped_symtab, NULL); in copy_elided_sections()
1798 shdr->sh_size = symdata->d_size = (1 + nsym) * shdr->sh_entsize; in copy_elided_sections()
1799 symdata->d_buf = xmalloc (symdata->d_size); in copy_elided_sections()
1800 record_new_data (symdata->d_buf); in copy_elided_sections()
1804 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, 0, &sym, SHN_UNDEF), in copy_elided_sections()
1827 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, 1 + i, in copy_elided_sections()
1832 elf_flagdata (symdata, ELF_C_SET, ELF_F_DIRTY); in copy_elided_sections()