/external/elfutils/libdwfl/ |
D | dwfl_module_addrsym.c | 62 GElf_Addr value, Elf *symelf, GElf_Word shndx) in same_section() argument 65 if (shndx >= SHN_LORESERVE) in same_section() 105 return shndx == state->addr_shndx && state->addr_symelf == symelf; in same_section() 129 const char *name, GElf_Word shndx, in try_sym_value() argument 150 state->closest_shndx = shndx; in try_sym_value() 158 shndx)) in try_sym_value() 166 state->sizeless_shndx = shndx; in try_sym_value() 186 state->closest_shndx = shndx; in try_sym_value() 201 GElf_Word shndx; in search_table() local 205 &shndx, &elf, NULL, in search_table() [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 176 symndx, sym, shndx) == NULL)) in relocate_getsym() 180 *shndx = sym->st_shndx; in relocate_getsym() 194 *shndx, &sym->st_value); in relocate_getsym() 205 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument 268 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,
|
/external/elfutils/src/ |
D | unstrip.c | 381 GElf_Word shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() local 382 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx); in symtab_count_leading_section_symbols() 390 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 392 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION) in symtab_count_leading_section_symbols() 397 shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() 398 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx), in symtab_count_leading_section_symbols() 615 GElf_Word shndx = SHN_UNDEF; in add_new_section_symbols() local 617 i, &sym_mem, &shndx); in add_new_section_symbols() 619 sym, shndx), in add_new_section_symbols() 638 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 | 539 GElf_Word shndx; in adjust_to_section() local 540 const char *scn = dwfl_module_relocation_info (mod, i, &shndx); in adjust_to_section() 549 (elf_getscn (dwfl_module_getelf (mod, &shdr_bias), shndx), in adjust_to_section()
|
/external/elfutils/libelf/ |
D | gelf_update_symshndx.c | 49 Elf32_Word *shndx = NULL; in gelf_update_symshndx() local 77 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; in gelf_update_symshndx() 133 if (shndx != NULL) in gelf_update_symshndx() 134 *shndx = srcshndx; in gelf_update_symshndx()
|
D | gelf_getsymshndx.c | 49 Elf32_Word shndx = 0; in gelf_getsymshndx() local 74 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; in gelf_getsymshndx() 128 *dstshndx = shndx; in gelf_getsymshndx()
|
/external/llvm/test/Object/ |
D | objdump-shndx.test | 1 RUN: llvm-objdump -r %p/Inputs/shndx.elf | FileCheck %s 3 Test that llvm-objdump can handle shndx. The relocation points to a section 5 has to use the shndx section.
|
/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/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()
|
D | elfstrmerge.c | 566 Elf32_Word *shndx = (Elf32_Word *) data->d_buf; in main() local 570 if (shndx[i] == SHN_UNDEF) in main() 573 newshndx[i] = newsecndx (shndx[i], "section", ndx, in main()
|
/external/vixl/examples/aarch32/ |
D | disasm-a32.cc | 289 const Elf32_Shdr& shndx = shdr[sres->second.GetSection()]; in main() local 290 func_size = (shndx.sh_offset + shndx.sh_size) - sres->first; in main()
|
/external/syslinux/com32/tools/ |
D | relocs.c | 200 static const char *sec_name(unsigned shndx) in sec_name() argument 206 if (shndx < ehdr.e_shnum) { in sec_name() 207 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name() 209 else if (shndx == SHN_ABS) { in sec_name() 212 else if (shndx == SHN_COMMON) { in sec_name()
|
/external/syslinux/com32/mboot/ |
D | mb_info.h | 133 uint32_t shndx; member
|
D | map.c | 248 mbinfo.syms.e.shndx = eh->e_shstrndx; in map_image()
|
/external/syslinux/gpxe/src/arch/i386/include/ |
D | multiboot.h | 99 uint32_t shndx; member
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 67 uint8_t other, uint32_t shndx, bool Reserved); 266 uint32_t shndx, bool Reserved) { in writeSymbol() argument 267 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved; in writeSymbol() 274 ShndxIndexes.push_back(shndx); in writeSymbol() 279 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | ELFObjectWriter.cpp | 144 uint32_t shndx, in WriteSymbolEntry() argument 147 if (shndx >= ELF::SHN_LORESERVE && !Reserved) in WriteSymbolEntry() 148 String32(*ShndxF, shndx); in WriteSymbolEntry() 153 uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ? in WriteSymbolEntry() 154 uint16_t(ELF::SHN_XINDEX) : shndx; in WriteSymbolEntry()
|
/external/elfutils/include/elfutils/ |
D | libdwfl.h | 73 GElf_Word shndx, const GElf_Shdr *shdr,
|