/external/elfutils/libdwfl/ |
D | dwfl_module_addrsym.c | 66 GElf_Addr value, Elf *symelf, GElf_Word shndx) in same_section() argument 69 if (shndx >= SHN_LORESERVE) in same_section() 109 return shndx == state->addr_shndx && state->addr_symelf == symelf; in same_section() 133 const char *name, GElf_Word shndx, in try_sym_value() argument 154 state->closest_shndx = shndx; in try_sym_value() 162 shndx)) in try_sym_value() 170 state->sizeless_shndx = shndx; in try_sym_value() 190 state->closest_shndx = shndx; in try_sym_value() 205 GElf_Word shndx; in search_table() local 209 &shndx, &elf, NULL, in search_table() [all …]
|
D | relocate.c | 44 Elf32_Word shndx, GElf_Addr *value) in __libdwfl_relocate_value() argument 49 if (shndx == 0) in __libdwfl_relocate_value() 52 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value() 71 name, shndx, refshdr, in __libdwfl_relocate_value() 115 int symndx, GElf_Sym *sym, GElf_Word *shndx) in relocate_getsym() argument 181 symndx, sym, shndx) == NULL)) in relocate_getsym() 185 *shndx = sym->st_shndx; in relocate_getsym() 199 *shndx, &sym->st_value); in relocate_getsym() 210 GElf_Sym *sym, GElf_Word shndx) in resolve_symbol() argument 273 ndx, sym, &shndx); in resolve_symbol() [all …]
|
D | dwfl_module_getsym.c | 55 GElf_Word shndx; in __libdwfl_getsym() local 99 sym = gelf_getsymshndx (symdata, symxndxdata, tndx, sym, &shndx); in __libdwfl_getsym() 108 shndx = sym->st_shndx; in __libdwfl_getsym() 117 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, shndx), &shdr_mem); in __libdwfl_getsym() 150 *shndxp = alloc ? shndx : (GElf_Word) -1; in __libdwfl_getsym() 167 shndx, &st_value); in __libdwfl_getsym()
|
D | offline.c | 48 Elf32_Word shndx, in dwfl_offline_section_address() argument 55 assert (shndx != 0); in dwfl_offline_section_address() 65 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 | 389 GElf_Word shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() local 390 GElf_Sym *sym = gelf_getsymshndx (data, shndxdata, i, &sym_mem, &shndx); in symtab_count_leading_section_symbols() 398 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 400 if (shndx != i || GELF_ST_TYPE (sym->st_info) != STT_SECTION) in symtab_count_leading_section_symbols() 405 shndx = SHN_UNDEF; in symtab_count_leading_section_symbols() 406 ELF_CHECK (gelf_update_symshndx (newsymdata, shndxdata, i, sym, shndx), in symtab_count_leading_section_symbols() 644 GElf_Word shndx = SHN_UNDEF; in add_new_section_symbols() local 646 i, &sym_mem, &shndx); in add_new_section_symbols() 648 sym, shndx), in add_new_section_symbols() 667 GElf_Word shndx = i < SHN_LORESERVE ? SHN_UNDEF : i; in add_new_section_symbols() local [all …]
|
D | addr2line.c | 525 GElf_Word shndx; in adjust_to_section() local 526 const char *scn = dwfl_module_relocation_info (mod, i, &shndx); in adjust_to_section() 535 (elf_getscn (dwfl_module_getelf (mod, &shdr_bias), shndx), in adjust_to_section()
|
D | elflint.c | 2874 in_nobits_scn (Ebl *ebl, unsigned int shndx) in in_nobits_scn() argument 2877 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, shndx), &shdr_mem); in in_nobits_scn() 4280 Elf_Data *data, int shndx, int phndx, GElf_Off start) in check_note_data() argument 4316 if (shndx == 0) in check_note_data() 4324 shndx, section_name (ebl, shndx), in check_note_data() 4369 if (shndx == 0) in check_note_data() 4378 shndx, section_name (ebl, shndx), in check_note_data()
|
/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/swiftshader/third_party/llvm-7.0/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 | 87 elf_section_name (Elf *elf, GElf_Word shndx) in elf_section_name() argument 91 Elf_Scn *scn = elf_getscn (elf, shndx); in elf_section_name() 98 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) in addr_in_section() argument 101 Elf_Scn *scn = elf_getscn (elf, shndx); in addr_in_section()
|
D | elfstrmerge.c | 567 Elf32_Word *shndx = (Elf32_Word *) data->d_buf; in main() local 571 if (shndx[i] == SHN_UNDEF) in main() 574 newshndx[i] = newsecndx (shndx[i], "section", ndx, in main()
|
/external/kmod/libkmod/ |
D | libkmod-elf.c | 750 static uint64_t kmod_elf_resolve_crc(const struct kmod_elf *elf, uint64_t crc, uint16_t shndx) in kmod_elf_resolve_crc() argument 756 if (shndx == SHN_ABS || shndx == SHN_UNDEF) in kmod_elf_resolve_crc() 759 err = elf_get_section_info(elf, shndx, &off, &size, &nameoff); in kmod_elf_resolve_crc() 761 ELFDBG("Cound not find section index %"PRIu16" for crc", shndx); in kmod_elf_resolve_crc() 767 crc, shndx, size); in kmod_elf_resolve_crc() 858 uint16_t shndx; in kmod_elf_get_symbols() local 868 shndx = READV(st_shndx); in kmod_elf_get_symbols() 874 shndx = READV(st_shndx); in kmod_elf_get_symbols() 887 a[count].crc = kmod_elf_resolve_crc(elf, crc, shndx); in kmod_elf_get_symbols()
|
/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/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-7.0/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 96 uint8_t other, uint32_t shndx, bool Reserved); 365 uint32_t shndx, bool Reserved) { in writeSymbol() argument 366 bool LargeIndex = shndx >= ELF::SHN_LORESERVE && !Reserved; in writeSymbol() 373 ShndxIndexes.push_back(shndx); in writeSymbol() 378 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()
|
D | ELFObjectWriter.h | 251 uint8_t other, uint32_t shndx,
|
/external/elfutils/include/elfutils/ |
D | libdwfl.h | 73 GElf_Word shndx, const GElf_Shdr *shdr,
|