Lines Matching refs:symdata
564 Elf_Data *symdata = elf_getdata (symscn, NULL); in add_new_section_symbols() local
567 symdata->d_size = shdr->sh_size; in add_new_section_symbols()
568 symdata->d_buf = xmalloc (symdata->d_size); in add_new_section_symbols()
578 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, in add_new_section_symbols()
599 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, in add_new_section_symbols()
611 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, in add_new_section_symbols()
621 return symdata; in add_new_section_symbols()
753 Elf_Data *symdata = elf_getdata (symscn, NULL); in collect_symbols() local
761 GElf_Sym *sym = gelf_getsymshndx (symdata, shndxdata, i, in collect_symbols()
1573 Elf_Data *symdata = NULL; in copy_elided_sections() local
1678 symdata = elf_getdata (unstripped_symtab, NULL); in copy_elided_sections()
1685 shdr->sh_size = symdata->d_size = (1 + nsym) * shdr->sh_entsize; in copy_elided_sections()
1686 symdata->d_buf = xmalloc (symdata->d_size); in copy_elided_sections()
1690 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, 0, &sym, SHN_UNDEF), in copy_elided_sections()
1713 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, 1 + i, in copy_elided_sections()
1718 elf_flagdata (symdata, ELF_C_SET, ELF_F_DIRTY); in copy_elided_sections()
1840 if (symdata != NULL) in copy_elided_sections()
1841 free (symdata->d_buf); in copy_elided_sections()