Home
last modified time | relevance | path

Searched refs:st_shndx (Results 1 – 25 of 53) sorted by relevance

123

/external/elfutils/src/libdwfl/
Ddwfl_module_getsym.c103 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()
Drelocate.c170 if (sym->st_shndx != SHN_XINDEX) in relocate_getsym()
171 *shndx = sym->st_shndx; in relocate_getsym()
173 switch (sym->st_shndx) in relocate_getsym()
237 if (sym->st_shndx != SHN_XINDEX) in resolve_symbol()
238 shndx = sym->st_shndx; in resolve_symbol()
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp315 st_shndx, in Dump()
316 sectionIndexToCString (st_shndx, section_list), in Dump()
341 if (data.GetU16(offset, &st_shndx, 1) == NULL) in Parse()
351 if (data.GetU16(offset, &st_shndx, 1) == NULL) in Parse()
/external/elfutils/src/tests/
Dasm-tst7.c144 if (sym->st_shndx != SHN_COMMON) in main()
147 (unsigned int) sym->st_shndx); in main()
Dasm-tst8.c145 if (sym->st_shndx != SHN_ABS) in main()
148 (unsigned int) sym->st_shndx); in main()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-elf.c52 sym->st_shndx != SHN_UNDEF; in elf_sym__is_function()
59 sym->st_shndx != SHN_UNDEF; in elf_sym__is_object()
66 sym->st_shndx != SHN_UNDEF && in elf_sym__is_label()
67 sym->st_shndx != SHN_ABS; in elf_sym__is_label()
788 if (runtime_ss->opdsec && sym.st_shndx == runtime_ss->opdidx) { in dso__load_sym()
792 sym.st_shndx = elf_addr_to_index(runtime_ss->elf, in dso__load_sym()
805 if (sym.st_shndx == SHN_ABS) in dso__load_sym()
808 sec = elf_getscn(runtime_ss->elf, sym.st_shndx); in dso__load_sym()
/external/elfutils/src/src/
Dnm.c840 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_sysv()
865 ebl_section_name (ebl, syms[cnt].sym.st_shndx, syms[cnt].xndx, in show_symbols_sysv()
885 if (sym->st_shndx == SHN_ABS) in class_type_char()
888 if (sym->st_shndx == SHN_UNDEF) in class_type_char()
903 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, sym->st_shndx), in class_type_char()
976 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_bsd()
1238 if ((hide_undefined && sym->st_shndx == SHN_UNDEF) in show_symbols()
1239 || (hide_defined && sym->st_shndx != SHN_UNDEF) in show_symbols()
1266 if (sym->st_shndx != SHN_UNDEF in show_symbols()
Dstrip.c832 size_t scnidx = sym->st_shndx; in handle_elf()
1248 if (sym->st_shndx == SHN_UNDEF in handle_elf()
1249 || (sym->st_shndx >= shnum in handle_elf()
1250 && sym->st_shndx != SHN_XINDEX)) in handle_elf()
1275 if (sym->st_shndx != SHN_XINDEX) in handle_elf()
1276 sec = shdr_info[sym->st_shndx].idx; in handle_elf()
1302 if ((inner != destidx || nshndx != sym->st_shndx in handle_elf()
1304 && (sym->st_shndx = nshndx, in handle_elf()
1325 size_t sidx = (sym->st_shndx != SHN_XINDEX in handle_elf()
1326 ? sym->st_shndx : xshndx); in handle_elf()
[all …]
Di386_ld.c139 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()
Dldgeneric.c1272 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 …]
Dobjdump.c388 sym->st_shndx == SHN_XINDEX in show_relocs_x()
389 ? xndx : sym->st_shndx), in show_relocs_x()
395 (long int) (sym->st_shndx == SHN_XINDEX in show_relocs_x()
396 ? xndx : sym->st_shndx)); in show_relocs_x()
Delfcmp.c362 && sym1->st_shndx != SHN_UNDEF) in main()
365 || sym1->st_shndx != sym1->st_shndx)) in main()
385 if (sym1->st_shndx == SHN_UNDEF in main()
Dunstrip.c358 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols()
359 shndx = sym->st_shndx; in symtab_count_leading_section_symbols()
365 if (sym->st_shndx != SHN_XINDEX) in symtab_count_leading_section_symbols()
602 .st_shndx = i < SHN_LORESERVE ? i : SHN_XINDEX in add_new_section_symbols()
770 if (sym->st_shndx != SHN_XINDEX) in collect_symbols()
771 shndx = sym->st_shndx; in collect_symbols()
1548 if (sym->st_shndx != SHN_XINDEX) in copy_elided_sections()
1549 shndx = sym->st_shndx; in copy_elided_sections()
1560 sym->st_shndx = shndx; in copy_elided_sections()
1564 sym->st_shndx = SHN_XINDEX; in copy_elided_sections()
[all …]
/external/libunwind/src/
Delfxx.c194 GET_SYM_FIELD(ei, sym_offset, &sym, st_shndx); in elf_w()
196 if (ELF_W (ST_TYPE) (sym.st_info) == STT_FUNC && sym.st_shndx != SHN_UNDEF) { in elf_w()
202 if (sym.st_shndx != SHN_ABS) { in elf_w()
339 if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { in elf_w()
344 if (sym->st_shndx != SHN_ABS) { in elf_w()
/external/elfutils/src/libelf/
Dgelf_getsym.c90 COPY (st_shndx);
Dgelf_update_sym.c96 COPY (st_shndx);
Dgelf_getsymshndx.c110 COPY (st_shndx);
Dgelf_update_symshndx.c122 COPY (st_shndx);
Dnlist.c186 nl->n_scnum = found->sym.st_shndx; in nlist()
/external/kernel-headers/original/uapi/linux/
Delf.h188 Elf32_Half st_shndx; member
195 Elf64_Half st_shndx; /* Associated section index */ member
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c372 ENDIAN_ASSIGN_IN_PLACE(sym32->st_shndx); in parse_elf_symbol()
380 ENDIAN_ASSIGN_IN_PLACE(sym64->st_shndx); in parse_elf_symbol()
468 parse_elf_section(&elf, sym.st_shndx, &dhdr, NULL); in parse_elf()
557 parse_elf_section(&elf, sym.st_shndx, NULL, &dhdr); in parse_elf()
/external/valgrind/VEX/unused/
Dlinker.c459 (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/
Dlinker.c555 (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/llvm/include/llvm/Object/
DELF.h516 if (symb->st_shndx == ELF::SHN_XINDEX) in getSymbolTableIndex()
518 return symb->st_shndx; in getSymbolTableIndex()
524 if (symb->st_shndx == ELF::SHN_XINDEX) in getSection()
526 if (symb->st_shndx >= ELF::SHN_LORESERVE) in getSection()
528 return getSection(symb->st_shndx); in getSection()
/external/elfutils/src/libasm/
Ddisasm_cb.c107 if (sym->st_shndx == SHN_UNDEF) in read_symtab_exec()

123