/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 | 103 if (sym->st_shndx != SHN_XINDEX) in __libdwfl_getsym() 104 shndx = sym->st_shndx; in __libdwfl_getsym() 109 && (sym->st_shndx == SHN_XINDEX in __libdwfl_getsym() 110 || (sym->st_shndx < SHN_LORESERVE && sym->st_shndx != SHN_UNDEF))) in __libdwfl_getsym() 148 switch (sym->st_shndx) in __libdwfl_getsym()
|
D | relocate.c | 179 if (sym->st_shndx != SHN_XINDEX) in relocate_getsym() 180 *shndx = sym->st_shndx; in relocate_getsym() 182 switch (sym->st_shndx) in relocate_getsym() 271 if (sym->st_shndx != SHN_XINDEX) in resolve_symbol() 272 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; }
|
/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 | 522 && sym.st_shndx == shdrstrndx) in main() 526 else if (sym.st_shndx != SHN_UNDEF in main() 527 && sym.st_shndx < SHN_LORESERVE) in main() 528 sym.st_shndx = newsecndx (sym.st_shndx, "section", ndx, in main()
|
/external/syslinux/com32/tools/ |
D | relocs.c | 226 name = sec_name(sym->st_shndx); in sym_name() 395 sym->st_shndx = elf16_to_cpu(sym->st_shndx); in read_symtabs() 451 if (sym->st_shndx != SHN_ABS) { in print_absolute_symbols() 492 if (sym->st_shndx != SHN_ABS) { in print_absolute_relocs() 566 shn_abs = sym->st_shndx == SHN_ABS; in walk_relocs()
|
/external/elfutils/src/ |
D | nm.c | 843 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_sysv() 868 ebl_section_name (ebl, syms[cnt].sym.st_shndx, syms[cnt].xndx, in show_symbols_sysv() 888 if (sym->st_shndx == SHN_ABS) in class_type_char() 891 if (sym->st_shndx == SHN_UNDEF) in class_type_char() 906 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, sym->st_shndx), in class_type_char() 979 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_bsd() 1338 if ((hide_undefined && sym->st_shndx == SHN_UNDEF) in show_symbols() 1339 || (hide_defined && sym->st_shndx != SHN_UNDEF) in show_symbols() 1366 if (sym->st_shndx != SHN_UNDEF in show_symbols()
|
D | i386_ld.c | 139 if (sym->st_shndx != SHN_XINDEX) in elf_i386_relocate_section() 140 xndx = sym->st_shndx; in elf_i386_relocate_section() 469 if (((Elf32_Sym *) dynsymdata->d_buf)[ndxtosym[idx]->outdynsymidx].st_shndx != SHN_UNDEF) in elf_i386_finalize_plt() 785 value = scninfo[sym->st_shndx].offset + sym->st_value; in elf_i386_create_relocations() 854 sym->st_shndx = statep->copy_section->outscnndx; in elf_i386_create_relocations() 867 sym->st_shndx = statep->copy_section->outscnndx; in elf_i386_create_relocations()
|
D | ldgeneric.c | 1272 xelf_getshdr (elf_getscn (fileinfo->elf, sym->st_shndx), in add_relocatable_file() 1409 shndx = sym->st_shndx; in add_relocatable_file() 1477 shndx = sym->st_shndx; in add_relocatable_file() 1523 && sym->st_shndx != SHN_UNDEF in add_relocatable_file() 3356 if (XELF_ST_BIND (sym->st_info) == STB_LOCAL || sym->st_shndx == SHN_UNDEF) in reduce_symbol_p() 3710 sym->st_shndx = scnidx; in fillin_special_symbol() 4716 sym->st_shndx = head->scnidx; in ld_generic_create_outfile() 4721 sym->st_shndx = SHN_XINDEX; in ld_generic_create_outfile() 5231 if (sym->st_shndx != SHN_XINDEX) in ld_generic_create_outfile() 5232 xndx = sym->st_shndx; in ld_generic_create_outfile() [all …]
|
D | strip.c | 863 size_t scnidx = sym->st_shndx; in handle_elf() 1309 if (sym->st_shndx == SHN_UNDEF in handle_elf() 1310 || (sym->st_shndx >= shnum in handle_elf() 1311 && sym->st_shndx != SHN_XINDEX)) in handle_elf() 1336 if (sym->st_shndx != SHN_XINDEX) in handle_elf() 1337 sec = shdr_info[sym->st_shndx].idx; in handle_elf() 1364 if ((inner != destidx || nshndx != sym->st_shndx in handle_elf() 1366 && (sym->st_shndx = nshndx, in handle_elf() 1389 size_t sidx = (sym->st_shndx != SHN_XINDEX in handle_elf() 1390 ? sym->st_shndx : xshndx); in handle_elf() [all …]
|
D | objdump.c | 384 sym->st_shndx == SHN_XINDEX in show_relocs_x() 385 ? xndx : sym->st_shndx), in show_relocs_x() 391 (long int) (sym->st_shndx == SHN_XINDEX in show_relocs_x() 392 ? xndx : sym->st_shndx)); in show_relocs_x()
|
/external/llvm/test/Object/ |
D | objdump-shndx.test | 4 symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
|
/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/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/syslinux/com32/lib/sys/module/ |
D | common.c | 337 if (ref_sym != NULL && ref_sym->st_shndx != SHN_UNDEF) in check_symbols() 351 if (crt_sym->st_shndx == SHN_UNDEF) in check_symbols() 589 if (crt_sym != NULL && crt_sym->st_shndx != SHN_UNDEF) { in global_find_symbol()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 188 Elf32_Half st_shndx; member 195 Elf64_Half st_shndx; /* Associated section index */ member
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2010-12-15-elf-lcomm.ll | 27 ; OBJ-NEXT: 'st_shndx', 0x0004
|
/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/syslinux/com32/include/sys/ |
D | elf64.h | 54 Elf64_Half st_shndx; member
|
D | elf32.h | 56 Elf32_Half st_shndx; member
|