/third_party/vixl/examples/aarch32/ |
H A 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/ |
H A 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()
|
H A 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/ |
H A D | ELFTypes.h | 172 Elf_Half st_shndx; // Which section (header table index) it's defined in member 181 Elf_Half st_shndx; // Which section (header table index) it's defined in member 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; 233 // ELF::SHN_HIRESERVE is 0xffff so st_shndx < [all...] |
/third_party/elfutils/src/ |
H A 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 ! in show_symbols() [all...] |
H A 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()
|
H A 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() 1941 /* We have to adjust symbol tables. The st_shndx member might 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 in handle_elf() [all...] |
H A D | unstrip.c | 399 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 400 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 406 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 677 .st_shndx = i < SHN_LORESERVE ? i : SHN_XINDEX in add_new_section_symbols() 862 if (sym->st_shndx != SHN_XINDEX) in collect_symbols() 863 shndx = sym->st_shndx; in collect_symbols() 1563 so that collect_symbols can update symbols' st_shndx fields. */ in copy_elided_sections() 1752 if (sym->st_shndx != SHN_XINDEX) in copy_elided_sections() 1753 shndx = sym->st_shndx; in copy_elided_sections() 1764 sym->st_shndx in copy_elided_sections() [all...] |
H A 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()
|
/third_party/elfutils/tests/ |
H A D | asm-tst8.c | 146 if (sym->st_shndx != SHN_ABS) in main() 149 (unsigned int) sym->st_shndx); in main()
|
H A D | asm-tst7.c | 145 if (sym->st_shndx != SHN_COMMON) in main() 148 (unsigned int) sym->st_shndx); in main()
|
H A 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/ |
H A D | elf_mem_image.cc | 120 if (sym->st_shndx == SHN_UNDEF || sym->st_shndx >= SHN_LORESERVE) { 356 if (symbol->st_shndx == SHN_UNDEF) { in Update()
|
/third_party/libbpf/src/ |
H A 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() 1826 sym_is_extern = sym->st_shndx == SHN_UNDEF; in linker_append_elf_sym() 1833 } else if (sym->st_shndx < SHN_LORESERVE) { in linker_append_elf_sym() 1834 src_sec = &obj->secs[sym->st_shndx]; in linker_append_elf_sym() 1944 dst_sym->st_shndx in linker_append_elf_sym() [all...] |
/third_party/mesa3d/src/amd/common/ |
H A 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/elfutils/libelf/ |
H A D | gelf_update_sym.c | 93 COPY (st_shndx); in gelf_update_sym()
|
H A D | gelf_getsym.c | 87 COPY (st_shndx); in gelf_getsym()
|
H A D | gelf_update_symshndx.c | 118 COPY (st_shndx); in gelf_update_symshndx()
|
H A D | gelf_getsymshndx.c | 106 COPY (st_shndx); in gelf_getsymshndx()
|
/third_party/libabigail/src/ |
H A 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/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceELFSection.cpp | 163 SymInfo.st_shndx = Section->getNumber(); in updateIndices() 172 SymInfo.st_shndx = Section->getNumber(); in updateIndices()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | vdso.rs | 274 || sym.st_shndx == SHN_UNDEF 275 || sym.st_shndx == SHN_ABS
|
/third_party/elfutils/libasm/ |
H A D | disasm_cb.c | 109 if (sym->st_shndx == SHN_UNDEF) in read_symtab_exec()
|
/third_party/musl/src/internal/linux/ |
H A D | vdso.c | 110 if (!vdso_info.syms[i].st_shndx) continue; in __get_vdso_addr()
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | vdso.c | 110 if (!vdso_info.syms[i].st_shndx) continue; in __get_vdso_addr()
|