/external/elfutils/libelf/ |
H A D | gelf_getsymshndx.c | 43 gelf_getsymshndx (Elf_Data *symdata, Elf_Data *shndxdata, int ndx, argument 46 Elf_Data_Scn *symdata_scn = (Elf_Data_Scn *) symdata; 51 if (symdata == NULL) 54 if (unlikely (symdata->d_type != ELF_T_SYM) 88 if (INVALID_NDX (ndx, Elf32_Sym, symdata)) 94 src = &((Elf32_Sym *) symdata->d_buf)[ndx]; 117 if (INVALID_NDX (ndx, GElf_Sym, symdata)) 123 *dst = ((GElf_Sym *) symdata->d_buf)[ndx];
|
H A D | gelf_update_symshndx.c | 43 gelf_update_symshndx (Elf_Data *symdata, Elf_Data *shndxdata, int ndx, argument 46 Elf_Data_Scn *symdata_scn = (Elf_Data_Scn *) symdata; 52 if (symdata == NULL)
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_getsym.c | 40 if (unlikely (mod->symdata == NULL)) 55 Elf_Data *symdata; local 64 symdata = mod->symdata; 73 symdata = mod->aux_symdata; 82 symdata = mod->symdata; 91 symdata = mod->aux_symdata; 95 sym = gelf_getsymshndx (symdata, symxndxdata, tndx, sym, &shndx);
|
H A D | relocate.c | 95 Elf_Data *symdata; member in struct:reloc_symtab_cache 112 if (cache->symdata == NULL) 140 cache->symdata = elf_getdata (scn, NULL); 142 if (unlikely (cache->symdata == NULL)) 152 if (cache->symdata != NULL && cache->symxndxdata != NULL) 156 if (cache->symdata == NULL) 169 cache->symdata = mod->symdata; 175 if (unlikely (gelf_getsymshndx (cache->symdata, cache->symxndxdata, 259 if (m->symdata [all...] |
H A D | libdwflP.h | 185 Elf_Data *symdata; /* Data in the ELF symbol table section. */ member in struct:Dwfl_Module
|
/external/elfutils/src/ |
H A D | findtextrel.c | 539 Elf_Data *symdata = elf_getdata (symscn, NULL); local 554 sym = gelf_getsym (symdata, i, &sym_mem); 572 sym = gelf_getsym (symdata, lowidx, &sym_mem); 595 sym = gelf_getsym (symdata, highidx, &sym_mem); 607 sym = gelf_getsym (symdata, highidx, &sym_mem);
|
H A D | i386_ld.c | 395 Elf_Data *symdata = NULL; local 398 symdata = elf_getdata (elf_getscn (statep->outelf, statep->symscnidx), 400 assert (symdata != NULL); 476 if (symdata != NULL) 479 ((Elf32_Sym *) symdata->d_buf)[nsym - statep->nplt 766 Elf_Data *symdata = elf_getdata (scninfo[rshdr->sh_link].scn, NULL); local 781 xelf_getsym (symdata, idx, sym);
|
H A D | objdump.c | 357 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, argument 370 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (r_info), 414 Elf_Data *symdata, Elf_Data *xndxdata, size_t symstrndx, 427 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx, 435 Elf_Data *symdata, Elf_Data *xndxdata, size_t symstrndx, 448 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx, 524 Elf_Data *symdata = elf_getdata (symscn, NULL); local 525 if (unlikely (symshdr == NULL || symdata == NULL)) 547 show_relocs_rel (ebl, shdr, data, symdata, xndxdata, 550 show_relocs_rela (ebl, shdr, data, symdata, xndxdat 413 show_relocs_rel(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, Elf_Data *symdata, Elf_Data *xndxdata, size_t symstrndx, size_t shstrndx) argument 434 show_relocs_rela(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, Elf_Data *symdata, Elf_Data *xndxdata, size_t symstrndx, size_t shstrndx) argument [all...] |
H A D | strip.c | 829 Elf_Data *symdata = shdr_info[cnt].data; local 857 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, 882 shdr_info[cnt].debug_data = symdata; 1798 Elf_Data *symdata, *xndxdata; local 1801 symdata = (shdr_info[symt].debug_data 1828 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata,
|
H A D | unstrip.c | 604 Elf_Data *symdata = elf_getdata (symscn, NULL); 607 symdata->d_size = shdr->sh_size; 608 symdata->d_buf = xmalloc (symdata->d_size); 609 record_new_data (symdata->d_buf); 619 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, 640 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, i, 652 ELF_CHECK (gelf_update_symshndx (symdata, shndxdata, 662 return symdata; 795 Elf_Data *symdata 603 Elf_Data *symdata = elf_getdata (symscn, NULL); local 793 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1643 Elf_Data *symdata = NULL; local [all...] |
H A D | elflint.c | 1352 size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, 1389 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); 1417 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); 1492 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1508 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, 1543 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1559 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, 1930 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1931 if (symdata == NULL) 1985 GElf_Sym *sym = gelf_getsym (symdata, cn 1351 check_one_reloc(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, GElf_Addr r_offset, GElf_Xword r_info, const GElf_Shdr *destshdr, bool reldyn, struct loaded_segment *loaded, enum load_state *statep) argument 2159 Elf_Data *symdata = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), NULL); local 2931 Elf_Data *symdata = elf_getdata (symscn, NULL); local [all...] |
H A D | ldgeneric.c | 1237 Elf_Data *symdata; local 1255 symdata = elf_getdata (symscn, NULL); 1263 xelf_getsym (symdata, shdr->sh_info, sym); 3692 Elf_Data *symdata, struct Ebl_Strtab *strtab) 3697 xelf_getsym_ptr (symdata, nsym, sym); 3730 (void) xelf_update_sym (symdata, nsym, sym); 4311 Elf_Data *symdata = NULL; local 4345 symdata = elf_newdata (symscn); 4346 if (symdata == NULL) 4351 symdata 3691 fillin_special_symbol(struct symbol *symst, size_t scnidx, size_t nsym, Elf_Data *symdata, struct Ebl_Strtab *strtab) argument [all...] |
H A D | readelf.c | 1461 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1464 || symdata == NULL) 1476 GElf_Sym *sym = gelf_getsym (symdata, shdr->sh_info, &sym_mem); 1849 Elf_Data *symdata = elf_getdata (symscn, NULL); local 1856 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) 1917 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, 2039 Elf_Data *symdata = elf_getdata (symscn, NULL); local 2046 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) 2107 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata,
|