/external/elfutils/0.153/libdwfl/ |
D | dwfl_module_addrsym.c | 65 inline bool same_section (const GElf_Sym *sym, GElf_Word shndx) in dwfl_module_addrsym() 68 if (shndx >= SHN_LORESERVE) in dwfl_module_addrsym() 91 return shndx == addr_shndx; in dwfl_module_addrsym() 113 GElf_Word shndx; in dwfl_module_addrsym() local 114 const char *name = INTUSE(dwfl_module_getsym) (mod, i, &sym, &shndx); in dwfl_module_addrsym() 140 closest_shndx = shndx; in dwfl_module_addrsym() 145 && same_section (&sym, shndx)) in dwfl_module_addrsym() 152 sizeless_shndx = shndx; in dwfl_module_addrsym() 166 closest_shndx = shndx; in dwfl_module_addrsym()
|
D | dwfl_module_getsym.c | 66 GElf_Word shndx; in dwfl_module_getsym() local 67 sym = gelf_getsymshndx (mod->symdata, mod->symxndxdata, ndx, sym, &shndx); in dwfl_module_getsym() 75 shndx = sym->st_shndx; in dwfl_module_getsym() 84 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (mod->symfile->elf, shndx), in dwfl_module_getsym() 91 *shndxp = alloc ? shndx : (GElf_Word) -1; in dwfl_module_getsym() 108 shndx, &sym->st_value); in dwfl_module_getsym()
|
D | relocate.c | 60 Elf32_Word shndx, GElf_Addr *value) in __libdwfl_relocate_value() argument 64 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value() 83 name, shndx, refshdr, in __libdwfl_relocate_value() 127 int symndx, GElf_Sym *sym, GElf_Word *shndx) in relocate_getsym() argument 184 symndx, sym, shndx) == NULL)) in relocate_getsym() 188 *shndx = sym->st_shndx; in relocate_getsym() 202 *shndx, &sym->st_value); in relocate_getsym() 213 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument 250 ndx, sym, &shndx); in resolve_symbol() 254 shndx = sym->st_shndx; in resolve_symbol() [all …]
|
D | offline.c | 65 Elf32_Word shndx, in dwfl_offline_section_address() argument 81 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx); in dwfl_offline_section_address()
|
D | libdwfl.h | 86 GElf_Word shndx, const GElf_Shdr *shdr,
|
D | libdwflP.h | 330 Elf32_Word shndx,
|
D | linux-kernel-modules.c | 805 const char *secname, Elf32_Word shndx __attribute__ ((unused)), in INTDEF()
|
/external/elfutils/0.153/libelf/ |
D | gelf_update_symshndx.c | 74 Elf32_Word *shndx = NULL; local 108 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 164 if (shndx != NULL) 165 *shndx = srcshndx;
|
D | gelf_getsymshndx.c | 74 Elf32_Word shndx = 0; local 99 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 153 *dstshndx = shndx;
|
/external/elfutils/0.153/src/ |
D | unstrip.c | 347 GElf_Word shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() local 348 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx); in symtab_count_leading_section_symbols() 356 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 358 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION) in symtab_count_leading_section_symbols() 363 shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() 364 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx), in symtab_count_leading_section_symbols() 578 GElf_Word shndx = SHN_UNDEF; in add_new_section_symbols() local 580 i, &sym_mem, &shndx); in add_new_section_symbols() 582 sym, shndx), in add_new_section_symbols() 601 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i; in add_new_section_symbols() local [all …]
|
D | ldgeneric.c | 107 static void mark_section_used (struct scninfo *scninfo, Elf32_Word shndx, 524 matching_group_comdat_scn (const XElf_Sym *sym, size_t shndx, in matching_group_comdat_scn() argument 527 if ((shndx >= SHN_LORESERVE && shndx <= SHN_HIRESERVE) in matching_group_comdat_scn() 532 size_t newgrpid = fileinfo->scninfo[shndx].grpid; in matching_group_comdat_scn() 592 check_definition (const XElf_Sym *sym, size_t shndx, size_t symidx, in check_definition() argument 600 if (shndx != SHN_UNDEF in check_definition() 602 || (shndx != SHN_COMMON && oldp->common && ! new_in_dso) in check_definition() 632 else if (shndx != SHN_UNDEF in check_definition() 634 && matching_group_comdat_scn (sym, shndx, fileinfo, oldp)) in check_definition() 639 else if (shndx != SHN_UNDEF in check_definition() [all …]
|
D | addr2line.c | 338 GElf_Word shndx; in print_addrsym() local 339 const char *name = dwfl_module_addrsym (mod, addr, &s, &shndx); in print_addrsym() 419 GElf_Word shndx; in adjust_to_section() local 420 const char *scn = dwfl_module_relocation_info (mod, i, &shndx); in adjust_to_section() 429 (elf_getscn (dwfl_module_getelf (mod, &shdr_bias), shndx), in adjust_to_section()
|
D | elflint.c | 2629 in_nobits_scn (Ebl *ebl, unsigned int shndx) in in_nobits_scn() argument 2632 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, shndx), &shdr_mem); in in_nobits_scn() 3929 Elf_Data *data, int shndx, int phndx, GElf_Off start) in check_note_data() argument 3965 if (shndx == 0) in check_note_data() 3973 shndx, section_name (ebl, shndx), in check_note_data() 3992 if (shndx == 0) in check_note_data() 4000 shndx, section_name (ebl, shndx), in check_note_data()
|
D | readelf.c | 8368 unsigned long int shndx = strtoul (a->arg, &endp, 0); in for_each_section_argument() local 8371 scn = elf_getscn (elf, shndx); in for_each_section_argument() 8374 error (0, 0, gettext ("\nsection [%lu] does not exist"), shndx); in for_each_section_argument()
|
D | ChangeLog | 1187 SHN_UNDEF as "bad section". Use shndx value in messages. 1400 Take new arg SPLIT_BSS. Adjust S->shndx recorded for symbols moved
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 276 ELFSymbol::sectionIndexToCString (elf_half shndx, in sectionIndexToCString() argument 279 switch (shndx) in sectionIndexToCString() 291 const lldb_private::Section *section = section_list->GetSectionAtIndex(shndx).get(); in sectionIndexToCString()
|
D | ELFHeader.h | 254 sectionIndexToCString(elf_half shndx,
|
/external/elfutils/elfutils/ |
D | libdwfl.h | 86 GElf_Word shndx, const GElf_Shdr *shdr,
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 79 uint8_t other, uint32_t shndx, bool Reserved); 358 uint32_t shndx, bool Reserved) { in writeSymbol() argument 359 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved; in writeSymbol() 366 write(*ShndxF, shndx); in writeSymbol() 371 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
|
/external/valgrind/main/perf/ |
D | tinycc.c | 5472 int info, int other, int shndx, const char *name); 18202 int info, int other, int shndx, const char *name) in put_elf_sym() argument 18220 sym->st_shndx = shndx; in put_elf_sym()
|