/external/elfutils/src/libdwfl/ |
D | dwfl_module_addrsym.c | 47 inline bool same_section (GElf_Addr value, Elf *symelf, GElf_Word shndx) in __libdwfl_addrsym() 50 if (shndx >= SHN_LORESERVE) in __libdwfl_addrsym() 89 return shndx == addr_shndx && addr_symelf == symelf; in __libdwfl_addrsym() 111 const char *name, GElf_Word shndx, in __libdwfl_addrsym() 148 closest_shndx = shndx; in __libdwfl_addrsym() 155 resolved ? mod->main.elf : elf, shndx)) in __libdwfl_addrsym() 163 sizeless_shndx = shndx; in __libdwfl_addrsym() 183 closest_shndx = shndx; in __libdwfl_addrsym() 197 GElf_Word shndx; in __libdwfl_addrsym() local 201 &shndx, &elf, NULL, in __libdwfl_addrsym() [all …]
|
D | relocate.c | 39 Elf32_Word shndx, GElf_Addr *value) in __libdwfl_relocate_value() argument 44 if (shndx == 0) in __libdwfl_relocate_value() 47 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value() 66 name, shndx, refshdr, in __libdwfl_relocate_value() 110 int symndx, GElf_Sym *sym, GElf_Word *shndx) in relocate_getsym() argument 167 symndx, sym, shndx) == NULL)) in relocate_getsym() 171 *shndx = sym->st_shndx; in relocate_getsym() 185 *shndx, &sym->st_value); in relocate_getsym() 196 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument 234 ndx, sym, &shndx); in resolve_symbol() [all …]
|
D | dwfl_module_getsym.c | 51 GElf_Word shndx; in __libdwfl_getsym() local 95 sym = gelf_getsymshndx (symdata, symxndxdata, tndx, sym, &shndx); in __libdwfl_getsym() 104 shndx = sym->st_shndx; in __libdwfl_getsym() 113 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, shndx), &shdr_mem); in __libdwfl_getsym() 146 *shndxp = alloc ? shndx : (GElf_Word) -1; in __libdwfl_getsym() 163 shndx, &st_value); in __libdwfl_getsym()
|
D | offline.c | 44 Elf32_Word shndx, in dwfl_offline_section_address() argument 51 assert (shndx != 0); in dwfl_offline_section_address() 61 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx); in dwfl_offline_section_address()
|
D | libdwfl.h | 73 GElf_Word shndx, const GElf_Shdr *shdr,
|
D | libdwflP.h | 482 Elf32_Word shndx,
|
D | linux-kernel-modules.c | 791 const char *secname, Elf32_Word shndx __attribute__ ((unused)), in INTDEF()
|
D | ChangeLog | 40 * offline.c (dwfl_offline_section_address): Assert shndx is not zero. 487 * libdwfl.h (dwfl_module_getsym): Document limitations of shndx.
|
/external/elfutils/src/libelf/ |
D | gelf_update_symshndx.c | 53 Elf32_Word *shndx = NULL; local 81 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 137 if (shndx != NULL) 138 *shndx = srcshndx;
|
D | gelf_getsymshndx.c | 53 Elf32_Word shndx = 0; local 78 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 132 *dstshndx = shndx;
|
/external/elfutils/src/src/ |
D | unstrip.c | 350 GElf_Word shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() local 351 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx); in symtab_count_leading_section_symbols() 359 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 361 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION) in symtab_count_leading_section_symbols() 366 shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() 367 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx), in symtab_count_leading_section_symbols() 581 GElf_Word shndx = SHN_UNDEF; in add_new_section_symbols() local 583 i, &sym_mem, &shndx); in add_new_section_symbols() 585 sym, shndx), in add_new_section_symbols() 604 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i; in add_new_section_symbols() local [all …]
|
D | ldgeneric.c | 99 static void mark_section_used (struct scninfo *scninfo, Elf32_Word shndx, 516 matching_group_comdat_scn (const XElf_Sym *sym, size_t shndx, in matching_group_comdat_scn() argument 519 if ((shndx >= SHN_LORESERVE && shndx <= SHN_HIRESERVE) in matching_group_comdat_scn() 524 size_t newgrpid = fileinfo->scninfo[shndx].grpid; in matching_group_comdat_scn() 584 check_definition (const XElf_Sym *sym, size_t shndx, size_t symidx, in check_definition() argument 592 if (shndx != SHN_UNDEF in check_definition() 594 || (shndx != SHN_COMMON && oldp->common && ! new_in_dso) in check_definition() 624 else if (shndx != SHN_UNDEF in check_definition() 626 && matching_group_comdat_scn (sym, shndx, fileinfo, oldp)) in check_definition() 631 else if (shndx != SHN_UNDEF in check_definition() [all …]
|
D | addr2line.c | 480 GElf_Word shndx; in adjust_to_section() local 481 const char *scn = dwfl_module_relocation_info (mod, i, &shndx); in adjust_to_section() 490 (elf_getscn (dwfl_module_getelf (mod, &shdr_bias), shndx), in adjust_to_section()
|
D | elflint.c | 2684 in_nobits_scn (Ebl *ebl, unsigned int shndx) in in_nobits_scn() argument 2687 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, shndx), &shdr_mem); in in_nobits_scn() 3987 Elf_Data *data, int shndx, int phndx, GElf_Off start) in check_note_data() argument 4023 if (shndx == 0) in check_note_data() 4031 shndx, section_name (ebl, shndx), in check_note_data() 4050 if (shndx == 0) in check_note_data() 4058 shndx, section_name (ebl, shndx), in check_note_data()
|
D | readelf.c | 9429 unsigned long int shndx = strtoul (a->arg, &endp, 0); in for_each_section_argument() local 9432 scn = elf_getscn (elf, shndx); in for_each_section_argument() 9435 error (0, 0, gettext ("\nsection [%lu] does not exist"), shndx); in for_each_section_argument()
|
D | ChangeLog | 2068 SHN_UNDEF as "bad section". Use shndx value in messages. 2281 Take new arg SPLIT_BSS. Adjust S->shndx recorded for symbols moved
|
/external/google-breakpad/src/common/linux/ |
D | elf_symbols_to_module.cc | 64 uint16_t shndx; member 105 .Read(2, false, &symbol_.shndx); in Fetch() 112 .Read(2, false, &symbol_.shndx) in Fetch() 158 iterator->shndx != SHN_UNDEF) { in ELFSymbolsToModule()
|
D | synth_elf.cc | 222 uint32_t size, unsigned info, uint16_t shndx) { in AddSymbol() argument 229 D16(shndx); in AddSymbol() 233 uint64_t size, unsigned info, uint16_t shndx) { in AddSymbol() argument 238 D16(shndx); in AddSymbol()
|
D | elf_symbols_to_module_unittest.cc | 98 uint32_t size, unsigned info, uint16_t shndx) { in AddElf32Sym() argument 105 .D16(shndx); in AddElf32Sym() 268 uint64_t size, unsigned info, uint16_t shndx) { in AddElf64Sym() argument 273 .D16(shndx) in AddElf64Sym()
|
D | synth_elf.h | 170 uint32_t size, unsigned info, uint16_t shndx); 173 uint64_t size, unsigned info, uint16_t shndx);
|
/external/elfutils/src/tests/ |
D | dwflsyms.c | 88 elf_section_name (Elf *elf, GElf_Word shndx) in elf_section_name() argument 92 Elf_Scn *scn = elf_getscn (elf, shndx); in elf_section_name() 99 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) in addr_in_section() argument 102 Elf_Scn *scn = elf_getscn (elf, shndx); in addr_in_section()
|
/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/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 79 uint8_t other, uint32_t shndx, bool Reserved); 339 uint32_t shndx, bool Reserved) { in writeSymbol() argument 340 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved; in writeSymbol() 347 write(*ShndxF, shndx); in writeSymbol() 352 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
|
/external/elfutils/include/elfutils/ |
D | libdwfl.h | 73 GElf_Word shndx, const GElf_Shdr *shdr,
|