/external/vixl/examples/aarch32/ |
D | disasm-a32.cc | 138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols() 140 (shdr[sym[snum].st_shndx].sh_type == SHT_PROGBITS) && in LocateSymbols() 158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); in visit() 178 shdr_[sym.st_shndx].sh_offset, in visit() 180 sym.st_shndx)); in visit() 185 shdr_[sym.st_shndx].sh_offset - shdr_[sym.st_shndx].sh_addr, in visit() 187 sym.st_shndx)); in visit()
|
/external/elfutils/libdwfl/ |
D | dwfl_module_getsym.c | 107 if (sym->st_shndx != SHN_XINDEX) in __libdwfl_getsym() 108 shndx = sym->st_shndx; in __libdwfl_getsym() 113 && (sym->st_shndx == SHN_XINDEX in __libdwfl_getsym() 114 || (sym->st_shndx < SHN_LORESERVE && sym->st_shndx != SHN_UNDEF))) in __libdwfl_getsym() 152 switch (sym->st_shndx) in __libdwfl_getsym()
|
D | relocate.c | 184 if (sym->st_shndx != SHN_XINDEX) in relocate_getsym() 185 *shndx = sym->st_shndx; in relocate_getsym() 187 switch (sym->st_shndx) in relocate_getsym() 276 if (sym->st_shndx != SHN_XINDEX) in resolve_symbol() 277 shndx = sym->st_shndx; in resolve_symbol()
|
/external/llvm/include/llvm/Object/ |
D | ELFTypes.h | 198 Elf_Half st_shndx; // Which section (header table index) it's defined in 207 Elf_Half st_shndx; // Which section (header table index) it's defined in 215 using Elf_Sym_Base<ELFT>::st_shndx; 241 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 243 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 247 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 250 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 255 return st_shndx >= ELF::SHN_LORESERVE; 257 bool isUndefined() const { return st_shndx == ELF::SHN_UNDEF; }
|
D | ELFObjectFile.h | 387 if (ESym->st_shndx == ELF::SHN_ABS) in getSymbolValueImpl() 404 switch (ESym->st_shndx) { in getSymbolAddress() 430 if (Sym->st_shndx == ELF::SHN_COMMON) in getSymbolAlignment() 495 if (ESym->st_shndx == ELF::SHN_ABS) in getSymbolFlags() 517 if (ESym->st_shndx == ELF::SHN_UNDEF) in getSymbolFlags() 520 if (ESym->getType() == ELF::STT_COMMON || ESym->st_shndx == ELF::SHN_COMMON) in getSymbolFlags()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ELFTypes.h | 173 Elf_Half st_shndx; // Which section (header table index) it's defined in 182 Elf_Half st_shndx; // Which section (header table index) it's defined in 190 using Elf_Sym_Base<ELFT>::st_shndx; 217 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 220 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 226 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 230 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 236 return st_shndx >= ELF::SHN_LORESERVE; 239 bool isUndefined() const { return st_shndx == ELF::SHN_UNDEF; }
|
/external/elfutils/tests/ |
D | asm-tst7.c | 144 if (sym->st_shndx != SHN_COMMON) in main() 147 (unsigned int) sym->st_shndx); in main()
|
D | asm-tst8.c | 145 if (sym->st_shndx != SHN_ABS) in main() 148 (unsigned int) sym->st_shndx); in main()
|
D | elfstrmerge.c | 523 && sym.st_shndx == shdrstrndx) in main() 527 else if (sym.st_shndx != SHN_UNDEF in main() 528 && sym.st_shndx < SHN_LORESERVE) in main() 529 sym.st_shndx = newsecndx (sym.st_shndx, "section", ndx, in main()
|
/external/elfutils/src/ |
D | nm.c | 829 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_sysv() 854 ebl_section_name (ebl, syms[cnt].sym.st_shndx, syms[cnt].xndx, in show_symbols_sysv() 874 if (sym->st_shndx == SHN_ABS) in class_type_char() 877 if (sym->st_shndx == SHN_UNDEF) in class_type_char() 892 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, sym->st_shndx), in class_type_char() 965 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_bsd() 1329 if ((hide_undefined && sym->st_shndx == SHN_UNDEF) in show_symbols() 1330 || (hide_defined && sym->st_shndx != SHN_UNDEF) in show_symbols() 1357 if (sym->st_shndx != SHN_UNDEF in show_symbols()
|
D | objdump.c | 372 sym->st_shndx == SHN_XINDEX in show_relocs_x() 373 ? xndx : sym->st_shndx), in show_relocs_x() 379 (long int) (sym->st_shndx == SHN_XINDEX in show_relocs_x() 380 ? xndx : sym->st_shndx)); in show_relocs_x()
|
D | strip.c | 546 Elf32_Word sec = (sym->st_shndx == SHN_XINDEX in remove_debug_relocations() 547 ? xndx : sym->st_shndx); in remove_debug_relocations() 1457 size_t scnidx = sym->st_shndx; in handle_elf() 1946 if (sym->st_shndx == SHN_UNDEF in handle_elf() 1947 || (sym->st_shndx >= SHN_LORESERVE in handle_elf() 1948 && sym->st_shndx != SHN_XINDEX)) in handle_elf() 1973 if (sym->st_shndx == SHN_XINDEX) in handle_elf() 1976 size_t sidx = (sym->st_shndx != SHN_XINDEX in handle_elf() 1977 ? sym->st_shndx : xshndx); in handle_elf() 1998 if ((inner != destidx || nshndx != sym->st_shndx in handle_elf() [all …]
|
D | unstrip.c | 397 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 398 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 404 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 665 .st_shndx = i < SHN_LORESERVE ? i : SHN_XINDEX in add_new_section_symbols() 846 if (sym->st_shndx != SHN_XINDEX) in collect_symbols() 847 shndx = sym->st_shndx; in collect_symbols() 1703 if (sym->st_shndx != SHN_XINDEX) in copy_elided_sections() 1704 shndx = sym->st_shndx; in copy_elided_sections() 1715 sym->st_shndx = shndx; in copy_elided_sections() 1719 sym->st_shndx = SHN_XINDEX; in copy_elided_sections() [all …]
|
/external/llvm/test/Object/ |
D | objdump-shndx.test | 4 symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
D | objdump-shndx.test | 4 symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
|
/external/libunwind/src/ |
D | elfxx.c | 196 GET_SYM_FIELD(ei, sym_offset, &sym, st_shndx); in elf_w() 198 if (ELF_W (ST_TYPE) (sym.st_info) == STT_FUNC && sym.st_shndx != SHN_UNDEF) { in elf_w() 204 if (sym.st_shndx != SHN_ABS) { in elf_w() 341 if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { in elf_w() 346 if (sym->st_shndx != SHN_ABS) { in elf_w()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 356 Sym->st_shndx = Symbol->getShndx(); in visit() 712 if (Sym.st_shndx == SHN_XINDEX) { in initSymbolTable() 730 } else if (Sym.st_shndx >= SHN_LORESERVE) { in initSymbolTable() 731 if (!isValidReservedSectionIndex(Sym.st_shndx, Obj.Machine)) { in initSymbolTable() 735 Twine(Sym.st_shndx)); in initSymbolTable() 737 } else if (Sym.st_shndx != SHN_UNDEF) { in initSymbolTable() 739 Sym.st_shndx, "Symbol '" + Name + in initSymbolTable() 741 Twine(Sym.st_shndx)); in initSymbolTable() 745 Sym.getValue(), Sym.st_other, Sym.st_shndx, Sym.st_size); in initSymbolTable()
|
/external/elfutils/libelf/ |
D | gelf_getsym.c | 87 COPY (st_shndx); in gelf_getsym()
|
D | gelf_update_sym.c | 93 COPY (st_shndx); in gelf_update_sym()
|
D | gelf_getsymshndx.c | 106 COPY (st_shndx); in gelf_getsymshndx()
|
D | gelf_update_symshndx.c | 118 COPY (st_shndx); in gelf_update_symshndx()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 189 Elf32_Half st_shndx; member 196 Elf64_Half st_shndx; /* Associated section index */ member
|
/external/kmod/libkmod/ |
D | libkmod-elf.c | 868 shndx = READV(st_shndx); in kmod_elf_get_symbols() 874 shndx = READV(st_shndx); in kmod_elf_get_symbols() 1034 secidx = READV(st_shndx); in kmod_elf_get_dependency_symbols() 1039 secidx = READV(st_shndx); in kmod_elf_get_dependency_symbols() 1129 secidx = READV(st_shndx); in kmod_elf_get_dependency_symbols() 1134 secidx = READV(st_shndx); in kmod_elf_get_dependency_symbols()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFSection.cpp | 163 SymInfo.st_shndx = Section->getNumber(); in updateIndices() 172 SymInfo.st_shndx = Section->getNumber(); in updateIndices()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2010-12-15-elf-lcomm.ll | 27 ; OBJ-NEXT: 'st_shndx', 0x0004
|