/third_party/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()
|
/third_party/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 | 186 if (sym->st_shndx != SHN_XINDEX) in relocate_getsym() 187 *shndx = sym->st_shndx; in relocate_getsym() 189 switch (sym->st_shndx) in relocate_getsym() 278 if (sym->st_shndx != SHN_XINDEX) in resolve_symbol() 279 shndx = sym->st_shndx; in resolve_symbol()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFTypes.h | 172 Elf_Half st_shndx; // Which section (header table index) it's defined in 181 Elf_Half st_shndx; // Which section (header table index) it's defined in 189 using Elf_Sym_Base<ELFT>::st_shndx; 216 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 219 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 225 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 229 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 235 return st_shndx >= ELF::SHN_LORESERVE; 238 bool isUndefined() const { return st_shndx == ELF::SHN_UNDEF; }
|
/third_party/elfutils/src/ |
D | nm.c | 833 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_sysv() 864 ebl_section_name (ebl, syms[cnt].sym.st_shndx, syms[cnt].xndx, in show_symbols_sysv() 884 if (sym->st_shndx == SHN_ABS) in class_type_char() 887 if (sym->st_shndx == SHN_UNDEF) in class_type_char() 901 else if (sym->st_shndx == SHN_COMMON) in class_type_char() 906 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, sym->st_shndx), in class_type_char() 984 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_bsd() 1120 if (syms[cnt].sym.st_shndx != SHN_UNDEF) in show_symbols_posix() 1357 if ((hide_undefined && sym->st_shndx == SHN_UNDEF) in show_symbols() 1358 || (hide_defined && sym->st_shndx != SHN_UNDEF) in show_symbols() [all …]
|
D | objdump.c | 371 sym->st_shndx == SHN_XINDEX in show_relocs_x() 372 ? xndx : sym->st_shndx), in show_relocs_x() 378 (long int) (sym->st_shndx == SHN_XINDEX in show_relocs_x() 379 ? xndx : sym->st_shndx)); in show_relocs_x()
|
D | strip.c | 695 Elf32_Word sec = (sym->st_shndx == SHN_XINDEX in remove_debug_relocations() 696 ? xndx : sym->st_shndx); in remove_debug_relocations() 1511 size_t scnidx = sym->st_shndx; in handle_elf() 2000 if (sym->st_shndx == SHN_UNDEF in handle_elf() 2001 || (sym->st_shndx >= SHN_LORESERVE in handle_elf() 2002 && sym->st_shndx != SHN_XINDEX)) in handle_elf() 2027 if (sym->st_shndx == SHN_XINDEX) in handle_elf() 2030 size_t sidx = (sym->st_shndx != SHN_XINDEX in handle_elf() 2031 ? sym->st_shndx : xshndx); in handle_elf() 2053 if ((inner != destidx || nshndx != sym->st_shndx in handle_elf() [all …]
|
D | elfcmp.c | 381 && sym1->st_shndx != SHN_UNDEF) in main() 384 || sym1->st_shndx != sym2->st_shndx)) in main() 404 if (sym1->st_shndx == SHN_UNDEF in main()
|
D | unstrip.c | 398 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 399 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 405 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 676 .st_shndx = i < SHN_LORESERVE ? i : SHN_XINDEX in add_new_section_symbols() 860 if (sym->st_shndx != SHN_XINDEX) in collect_symbols() 861 shndx = sym->st_shndx; in collect_symbols() 1750 if (sym->st_shndx != SHN_XINDEX) in copy_elided_sections() 1751 shndx = sym->st_shndx; in copy_elided_sections() 1762 sym->st_shndx = shndx; in copy_elided_sections() 1766 sym->st_shndx = SHN_XINDEX; in copy_elided_sections() [all …]
|
/third_party/elfutils/tests/ |
D | asm-tst7.c | 145 if (sym->st_shndx != SHN_COMMON) in main() 148 (unsigned int) sym->st_shndx); in main()
|
D | asm-tst8.c | 146 if (sym->st_shndx != SHN_ABS) in main() 149 (unsigned int) sym->st_shndx); in main()
|
D | elfstrmerge.c | 533 && sym.st_shndx == shdrstrndx) in main() 537 else if (sym.st_shndx != SHN_UNDEF in main() 538 && sym.st_shndx < SHN_LORESERVE) in main() 539 sym.st_shndx = newsecndx (sym.st_shndx, shdrstrndx, shdrnum, in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 120 if (sym->st_shndx == SHN_UNDEF || sym->st_shndx >= SHN_LORESERVE) { in GetSymAddr() 356 if (symbol->st_shndx == SHN_UNDEF) { in Update()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | elf.rs | 141 pub(super) st_shndx: u16, field 150 pub(super) st_shndx: u16, field
|
D | vdso.rs | 274 || sym.st_shndx == SHN_UNDEF in sym() 275 || sym.st_shndx == SHN_ABS in sym()
|
/third_party/libunwind/src/ |
D | elfxx.c | 130 && sym->st_shndx != SHN_UNDEF) in elf_w() 133 if (sym->st_shndx != SHN_ABS) in elf_w() 210 && sym->st_shndx != SHN_UNDEF) in elf_w() 213 if (sym->st_shndx != SHN_ABS) in elf_w()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rtld.c | 209 } else if (symbol->st_shndx == SHN_AMDGPU_LDS) { in read_private_lds_symbols() 570 if (sym->st_shndx == SHN_UNDEF || sym->st_shndx == SHN_AMDGPU_LDS) { in resolve_symbol() 588 if (sym->st_shndx >= part->num_sections) { in resolve_symbol() 593 struct ac_rtld_section *s = &part->sections[sym->st_shndx]; in resolve_symbol()
|
/third_party/libbpf/src/ |
D | linker.c | 433 init_sym->st_shndx = SHN_UNDEF; in init_output_elf() 795 || sym->st_other != 0 || sym->st_shndx != 0 in linker_sanity_check_elf_symtab() 812 if (sym->st_shndx == 0) { in linker_sanity_check_elf_symtab() 822 if (sym->st_shndx < SHN_LORESERVE && sym->st_shndx >= obj->sec_cnt) { in linker_sanity_check_elf_symtab() 824 i, sec->sec_idx, (size_t)sym->st_shndx, obj->filename); in linker_sanity_check_elf_symtab() 1814 sym_is_extern = sym->st_shndx == SHN_UNDEF; in linker_append_elf_sym() 1821 } else if (sym->st_shndx < SHN_LORESERVE) { in linker_append_elf_sym() 1822 src_sec = &obj->secs[sym->st_shndx]; in linker_append_elf_sym() 1932 dst_sym->st_shndx = dst_sec->sec_idx; in linker_append_elf_sym() 1963 dst_sym->st_shndx = dst_sec ? dst_sec->sec_idx : sym->st_shndx; in linker_append_elf_sym() [all …]
|
/third_party/libabigail/src/ |
D | abg-symtab-reader.cc | 352 || (sym_type == STT_OBJECT && sym->st_shndx != SHN_ABS) in load_() 356 const bool sym_is_defined = sym->st_shndx != SHN_UNDEF; in load_() 358 const bool sym_is_common = sym->st_shndx == SHN_COMMON; in load_()
|
/third_party/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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceELFSection.cpp | 163 SymInfo.st_shndx = Section->getNumber(); in updateIndices() 172 SymInfo.st_shndx = Section->getNumber(); in updateIndices()
|
/third_party/musl/src/internal/ |
D | vdso.c | 83 if (!syms[i].st_shndx) continue; in __vdsosym()
|