Home
last modified time | relevance | path

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

123

/external/elfutils/tests/
Ddwflsyms.c34 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
58 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
74 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
151 if (GELF_ST_TYPE (sym.st_info) == STT_FUNC && shndxp != SHN_UNDEF) in list_syms()
Dasm-tst8.c166 if (GELF_ST_TYPE (sym->st_info) != STT_FILE) in main()
169 (unsigned int) GELF_ST_TYPE (sym->st_info)); in main()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DELF.h811 unsigned char st_info; // Symbol's type and binding attributes member
817 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
818 unsigned char getType() const { return st_info & 0x0f; } in getType()
822 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
829 unsigned char st_info; // Symbol's type and binding attributes member
837 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
838 unsigned char getType() const { return st_info & 0x0f; } in getType()
842 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/llvm/include/llvm/Support/
DELF.h824 unsigned char st_info; // Symbol's type and binding attributes member
830 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
831 unsigned char getType() const { return st_info & 0x0f; } in getType()
835 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
842 unsigned char st_info; // Symbol's type and binding attributes member
850 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
851 unsigned char getType() const { return st_info & 0x0f; } in getType()
855 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h828 unsigned char st_info; // Symbol's type and binding attributes member
834 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
835 unsigned char getType() const { return st_info & 0x0f; } in getType()
839 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
846 unsigned char st_info; // Symbol's type and binding attributes member
854 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
855 unsigned char getType() const { return st_info & 0x0f; } in getType()
859 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/elfutils/src/
Dnm.c809 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
863 GELF_ST_BIND (syms[cnt].sym.st_info), in show_symbols_sysv()
865 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv()
885 int local_p = GELF_ST_BIND (sym->st_info) == STB_LOCAL; in class_type_char()
895 char result = "NDTSFBD "[GELF_ST_TYPE (sym->st_info)]; in class_type_char()
901 && GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE) in class_type_char()
951 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_bsd()
974 bool is_tls = GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_TLS; in show_symbols_bsd()
975 bool is_weak = GELF_ST_BIND (syms[cnt].sym.st_info) == STB_WEAK; in show_symbols_bsd()
1111 ? (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_TLS in show_symbols_posix()
[all …]
Dldgeneric.c557 if (XELF_ST_TYPE (sym->st_info) != STT_NOTYPE && oldp->type != STT_NOTYPE in check_type_and_size()
558 && unlikely (oldp->type != XELF_ST_TYPE (sym->st_info))) in check_type_and_size()
569 ebl_symbol_type_name (ld_state.ebl, XELF_ST_TYPE (sym->st_info), in check_type_and_size()
573 else if (XELF_ST_TYPE (sym->st_info) == STT_OBJECT in check_type_and_size()
670 ebl_symbol_type_name (ld_state.ebl, XELF_ST_TYPE (sym->st_info), in check_definition()
743 oldp->type = XELF_ST_TYPE (sym->st_info); in check_definition()
755 oldp->weak = XELF_ST_BIND (sym->st_info) == STB_WEAK; in check_definition()
1269 if (XELF_ST_TYPE (sym->st_info) == STT_SECTION) in add_relocatable_file()
1417 if (XELF_ST_TYPE (sym->st_info) != STT_SECTION in add_relocatable_file()
1421 || XELF_ST_TYPE (sym->st_info) == STT_TLS)) in add_relocatable_file()
[all …]
Delflint.c663 if (sym->st_info != 0) in check_symtab()
731 if (GELF_ST_TYPE (sym->st_info) >= STT_NUM in check_symtab()
732 && !ebl_symbol_type_name (ebl, GELF_ST_TYPE (sym->st_info), NULL, 0)) in check_symtab()
736 if (GELF_ST_BIND (sym->st_info) >= STB_NUM in check_symtab()
737 && !ebl_symbol_binding_name (ebl, GELF_ST_BIND (sym->st_info), NULL, in check_symtab()
742 if (GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE in check_symtab()
743 && GELF_ST_TYPE (sym->st_info) != STT_OBJECT) in check_symtab()
759 if (GELF_R_TYPE (sym->st_info) == STT_FUNC) in check_symtab()
775 if (GELF_ST_TYPE (sym->st_info) == STT_FUNC in check_symtab()
776 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)) in check_symtab()
[all …]
/external/elfutils/libdwfl/
Ddwfl_module_addrsym.c112 switch (GELF_ST_BIND (symp->st_info)) in binding_value()
211 && GELF_ST_TYPE (sym.st_info) != STT_SECTION in search_table()
212 && GELF_ST_TYPE (sym.st_info) != STT_FILE in search_table()
213 && GELF_ST_TYPE (sym.st_info) != STT_TLS) in search_table()
Ddwfl_module_getsym.c125 && (GELF_ST_TYPE (sym->st_info) == STT_FUNC in __libdwfl_getsym()
126 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in __libdwfl_getsym()
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c235 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
237 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
238 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/external/elfutils/libelf/
Dabstract.h116 TYPE_EXTRA (unsigned char st_info;) \
117 TYPE_XLATE (tdest->st_info = tsrc->st_info;) \
125 TYPE_EXTRA (unsigned char st_info;) \
126 TYPE_XLATE (tdest->st_info = tsrc->st_info;) \
Dgelf_getsym.c85 COPY (st_info); in gelf_getsym()
Dgelf_update_sym.c91 COPY (st_info); in gelf_update_sym()
Dgelf_getsymshndx.c104 COPY (st_info); in gelf_getsymshndx()
Dgelf_update_symshndx.c116 COPY (st_info); in gelf_update_symshndx()
/external/llvm/include/llvm/Object/
DELFTypes.h196 unsigned char st_info; // Symbol's type and binding attributes
205 unsigned char st_info; // Symbol's type and binding attributes
214 using Elf_Sym_Base<ELFT>::st_info;
221 unsigned char getBinding() const { return st_info >> 4; }
222 unsigned char getType() const { return st_info & 0x0f; }
227 st_info = (b << 4) + (t & 0x0f);
/external/vixl/examples/aarch32/
Ddisasm-a32.cc141 ((ELF32_ST_BIND(sym[snum].st_info) == STB_LOCAL) || in LocateSymbols()
142 (ELF32_ST_BIND(sym[snum].st_info) == STB_GLOBAL)) && in LocateSymbols()
143 (ELF32_ST_TYPE(sym[snum].st_info) == STT_FUNC)) { in LocateSymbols()
/external/syslinux/com32/lib/sys/module/
Dcommon.c330 weak_count = (ELF32_ST_BIND(crt_sym->st_info) == STB_WEAK); in check_symbols()
339 switch (ELF32_ST_BIND(ref_sym->st_info)) in check_symbols()
371 if (strong_count > 0 && ELF32_ST_BIND(ref_sym->st_info) == STB_GLOBAL) in check_symbols()
590 switch (ELF32_ST_BIND(crt_sym->st_info)) { in global_find_symbol()
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump106 st_info = f.read8()[0]
107 st_bind = (st_info >> 4, 4)
108 st_type = (st_info & 0xf, 4)
/external/libunwind/src/
Delfxx.c195 GET_SYM_FIELD(ei, sym_offset, &sym, st_info); in elf_w()
198 if (ELF_W (ST_TYPE) (sym.st_info) == STT_FUNC && sym.st_shndx != SHN_UNDEF) { in elf_w()
207 Debug (16, "0x%016lx info=0x%02x\n", (long) val, sym.st_info); in elf_w()
341 if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { in elf_w()
349 Debug (16, "0x%016lx info=0x%02x\n", (long) val, sym->st_info); in elf_w()
/external/kernel-headers/original/uapi/linux/
Delf.h186 unsigned char st_info; member
193 unsigned char st_info; /* Type and binding attributes */ member
/external/syslinux/com32/include/sys/
Delf64.h52 unsigned char st_info; member
Delf32.h54 unsigned char st_info; member
/external/kmod/libkmod/
Dlibkmod-elf.c841 info = READV(st_info); in kmod_elf_get_symbols()
846 info = READV(st_info); in kmod_elf_get_symbols()
1007 info = READV(st_info); in kmod_elf_get_dependency_symbols()
1012 info = READV(st_info); in kmod_elf_get_dependency_symbols()
1102 info = READV(st_info); in kmod_elf_get_dependency_symbols()
1107 info = READV(st_info); in kmod_elf_get_dependency_symbols()

123