/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 | 147 Elf_Half st_shndx; // Which section (header table index) it's defined in 156 Elf_Half st_shndx; // Which section (header table index) it's defined in 164 using Elf_Sym_Base<ELFT>::st_shndx; 190 bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; } 192 return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON; 196 return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC; 199 return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS; 204 return st_shndx >= ELF::SHN_LORESERVE; 206 bool isUndefined() const { return st_shndx == ELF::SHN_UNDEF; }
|
D | ELFObjectFile.h | 379 if (ESym->st_shndx == ELF::SHN_ABS) in getSymbolValueImpl() 396 switch (ESym->st_shndx) { in getSymbolAddress() 422 if (Sym->st_shndx == ELF::SHN_COMMON) in getSymbolAlignment() 481 if (ESym->st_shndx == ELF::SHN_ABS) in getSymbolFlags() 498 if (ESym->st_shndx == ELF::SHN_UNDEF) in getSymbolFlags() 501 if (ESym->getType() == ELF::STT_COMMON || ESym->st_shndx == ELF::SHN_COMMON) in getSymbolFlags()
|
D | ELF.h | 228 assert(Sym->st_shndx == ELF::SHN_XINDEX); in getExtendedSymbolTableIndex() 239 uint32_t Index = Sym->st_shndx; in getSection() 245 return getSection(Sym->st_shndx); in getSection()
|
/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/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()
|
D | unstrip.c | 389 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 390 shndx = sym->st_shndx; in symtab_count_leading_section_symbols() 396 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols() 636 .st_shndx = i < SHN_LORESERVE ? i : SHN_XINDEX in add_new_section_symbols() 804 if (sym->st_shndx != SHN_XINDEX) in collect_symbols() 805 shndx = sym->st_shndx; in collect_symbols() 1611 if (sym->st_shndx != SHN_XINDEX) in copy_elided_sections() 1612 shndx = sym->st_shndx; in copy_elided_sections() 1623 sym->st_shndx = shndx; in copy_elided_sections() 1627 sym->st_shndx = SHN_XINDEX; in copy_elided_sections() [all …]
|
D | elfcmp.c | 368 && sym1->st_shndx != SHN_UNDEF) in main() 371 || sym1->st_shndx != sym1->st_shndx)) in main() 391 if (sym1->st_shndx == SHN_UNDEF in main()
|
/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/kernel-headers/original/uapi/linux/ |
D | elf.h | 188 Elf32_Half st_shndx; member 195 Elf64_Half st_shndx; /* Associated section index */ member
|
/external/valgrind/VEX/unused/ |
D | linker.c | 459 (ehdrC + shdr[ sym.st_shndx ].sh_offset in do_Elf_Rel_relocations() 594 (ehdrC + shdr[ sym.st_shndx ].sh_offset in do_Elf_Rela_relocations() 907 (int)stab[j].st_shndx, in ocVerifyImage_ELF() 1052 int secno = stab[j].st_shndx; in ocGetNames_ELF() 1072 && stab[j].st_shndx != SHN_UNDEF in ocGetNames_ELF() 1074 && stab[j].st_shndx < SHN_LORESERVE in ocGetNames_ELF()
|
/external/valgrind/VEX/switchback/ |
D | linker.c | 555 (ehdrC + shdr[ sym.st_shndx ].sh_offset 701 (ehdrC + shdr[ sym.st_shndx ].sh_offset 1070 (int)stab[j].st_shndx, 1214 int secno = stab[j].st_shndx; 1239 && stab[j].st_shndx != SHN_UNDEF 1241 && stab[j].st_shndx < SHN_LORESERVE
|
/external/elfutils/libasm/ |
D | disasm_cb.c | 107 if (sym->st_shndx == SHN_UNDEF) in read_symtab_exec()
|