Searched refs:st_info (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dsymbol.c37 uchar_t type = GELF_ST_TYPE(sym->st_info);
/freebsd-10.1-release/sys/ddb/
H A Ddb_main.c112 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT &&
113 ELF_ST_TYPE(sym->st_info) != STT_FUNC &&
114 ELF_ST_TYPE(sym->st_info) != STT_NOTYPE)
124 else if (ELF_ST_BIND(match->st_info) == STB_LOCAL &&
125 ELF_ST_BIND(sym->st_info) != STB_LOCAL)
130 ELF_ST_TYPE(sym->st_info) == STT_FUNC &&
131 ELF_ST_BIND(sym->st_info) != STB_LOCAL)
134 ELF_ST_BIND(sym->st_info) != STB_LOCAL)
/freebsd-10.1-release/contrib/libexecinfo/
H A Dsymtab.c56 uintptr_t st_info; member in struct:symbol
131 (unsigned)bind != ELF_ST_BIND(sym.st_info))
135 (unsigned)type != ELF_ST_TYPE(sym.st_info))
139 s->st_info = sym.st_info;
/freebsd-10.1-release/lib/libelf/
H A Dgelf_sym.c84 dst->st_info = ELF64_ST_INFO(ELF32_ST_BIND(sym32->st_info),
85 ELF32_ST_TYPE(sym32->st_info));
141 sym32->st_info = gs->st_info;
/freebsd-10.1-release/contrib/binutils/bfd/
H A Delf-vxworks.c69 sym->st_info = ELF_ST_INFO (STB_WEAK, ELF_ST_TYPE (sym->st_info));
141 sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info));
H A Delf64-sparc.c427 if (ELF_ST_TYPE (sym->st_info) == STT_REGISTER)
496 p->bind = ELF_ST_BIND (sym->st_info);
503 && ELF_ST_BIND (sym->st_info) == STB_GLOBAL)
522 unsigned char type = ELF_ST_TYPE (sym->st_info);
586 sym.st_info = ELF_ST_INFO (app_regs [reg].bind, STT_REGISTER);
601 if (ELF_ST_TYPE (elf_sym->st_info) == STT_REGISTER)
616 if (elfsym->internal_elf_sym.st_info
743 if (ELF_ST_TYPE (((elf_symbol_type *) symbol)->internal_elf_sym.st_info)
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h230 unsigned char st_info; ///< Symbol type and binding attributes. member in struct:elf::ELFSymbol
236 /// Returns the binding attribute of the st_info member.
237 unsigned char getBinding() const { return st_info >> 4; }
239 /// Returns the type attribute of the st_info member.
240 unsigned char getType() const { return st_info & 0x0F; }
242 /// Sets the binding and type of the st_info member.
244 st_info = (binding << 4) + (type & 0x0F);
H A DELFHeader.cpp311 st_info,
336 // Read st_info and st_other.
337 if (data.GetU8(offset, &st_info, 2) == NULL)
346 // Read st_info and st_other.
347 if (data.GetU8(offset, &st_info, 2) == NULL)
/freebsd-10.1-release/contrib/binutils/include/elf/
H A Dexternal.h132 unsigned char st_info[1]; /* Type and binding attributes */ member in struct:__anon514
139 unsigned char st_info[1]; /* Type and binding attributes */ member in struct:__anon515
H A Dinternal.h101 unsigned char st_info; /* Type and binding attributes */ member in struct:elf_internal_sym
/freebsd-10.1-release/usr.bin/gprof/
H A Delf.c135 type = ELF_ST_TYPE(sym->st_info);
136 bind = ELF_ST_BIND(sym->st_info);
/freebsd-10.1-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_lookup.c192 if (ELF32_ST_TYPE(symp->st_info) != STT_OBJECT)
196 if (ELF64_ST_TYPE(symp->st_info) != STT_OBJECT)
255 if (ELF32_ST_TYPE(symp->st_info) != STT_FUNC)
259 if (ELF64_ST_TYPE(symp->st_info) != STT_FUNC)
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c250 tmpsym.st_info = 0;
253 if (GELF_ST_BIND(weak->st_info) != STB_WEAK)
263 type = GELF_ST_TYPE(sym.st_info);
268 if (GELF_ST_TYPE(weak->st_info) != type ||
275 if (GELF_ST_BIND(sym.st_info) == STB_WEAK)
281 if (GELF_ST_BIND(sym.st_info) == STB_LOCAL &&
315 uchar_t type = GELF_ST_TYPE(sym->st_info);
377 match.iim_bind = GELF_ST_BIND(sym.st_info);
379 switch (GELF_ST_TYPE(sym.st_info)) {
416 smatch.iim_bind = GELF_ST_BIND(ssym.st_info);
[all...]
/freebsd-10.1-release/lib/libproc/
H A Dproc_sym.c565 if (GELF_ST_BIND(sym.st_info) == STB_LOCAL &&
568 if (GELF_ST_BIND(sym.st_info) == STB_GLOBAL &&
571 if (GELF_ST_BIND(sym.st_info) == STB_WEAK &&
574 if (GELF_ST_TYPE(sym.st_info) == STT_NOTYPE &&
577 if (GELF_ST_TYPE(sym.st_info) == STT_OBJECT &&
580 if (GELF_ST_TYPE(sym.st_info) == STT_FUNC &&
583 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION &&
586 if (GELF_ST_TYPE(sym.st_info) == STT_FILE &&
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c102 uchar_t type = ELF32_ST_TYPE(sym->st_info);
111 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) {
152 uchar_t type = ELF64_ST_TYPE(sym->st_info);
161 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) {
195 if ((ELF32_ST_TYPE(lhs->st_info) == STT_NOTYPE) !=
196 (ELF32_ST_TYPE(rhs->st_info) == STT_NOTYPE))
197 return (ELF32_ST_TYPE(lhs->st_info) == STT_NOTYPE ? 1 : -1);
199 if ((ELF32_ST_BIND(lhs->st_info) == STB_WEAK) !=
200 (ELF32_ST_BIND(rhs->st_info) == STB_WEAK))
201 return (ELF32_ST_BIND(lhs->st_info)
[all...]
H A Ddt_link.c269 sym->st_info = ELF32_ST_INFO(STB_GLOBAL, STT_FUNC);
286 sym->st_info = ELF32_ST_INFO(STB_GLOBAL, STT_OBJECT);
454 sym->st_info = GELF_ST_INFO(STB_GLOBAL, STT_FUNC);
471 sym->st_info = GELF_ST_INFO(STB_GLOBAL, STT_OBJECT);
791 if (GELF_ST_TYPE(sym->st_info) == STT_FUNC &&
795 if (GELF_ST_BIND(sym->st_info) == STB_GLOBAL)
1392 if (GELF_ST_BIND(fsym.st_info) != STB_LOCAL)
1406 if (GELF_ST_TYPE(fsym.st_info) != STT_FUNC) {
1554 assert(GELF_ST_TYPE(fsym.st_info) == STT_FUNC);
1568 if (GELF_ST_BIND(fsym.st_info)
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Object/
H A DELFTypes.h160 unsigned char st_info; // Symbol's type and binding attributes member in struct:llvm::object::Elf_Sym_Base
169 unsigned char st_info; // Symbol's type and binding attributes member in struct:llvm::object::Elf_Sym_Base
178 using Elf_Sym_Base<ELFT>::st_info;
182 unsigned char getBinding() const { return st_info >> 4; }
183 unsigned char getType() const { return st_info & 0x0f; }
187 st_info = (b << 4) + (t & 0x0f);
/freebsd-10.1-release/libexec/rtld-elf/mips/
H A Dreloc.c216 assert(ELF_ST_BIND(sym->st_info) == STB_LOCAL);
286 if (sym[i].st_info == ELF_ST_INFO(STB_LOCAL, STT_NOTYPE))
311 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC &&
332 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC &&
355 } else if (sym->st_info == ELF_ST_INFO(STB_GLOBAL, STT_SECTION)) {
437 if (def->st_info ==
/freebsd-10.1-release/lib/libc/gen/
H A Dnlist.c391 nl->n_type = ELF_ST_TYPE(s->st_info) == STT_FILE ?
407 if (ELF_ST_BIND(s->st_info) == STB_GLOBAL ||
408 ELF_ST_BIND(s->st_info) == STB_WEAK)
/freebsd-10.1-release/libexec/rtld-elf/amd64/
H A Dreloc.c174 if (ELF_ST_TYPE(def->st_info) == STT_GNU_IFUNC) {
366 if (ELF_ST_TYPE(def->st_info) == STT_GNU_IFUNC) {
438 if (ELF_ST_TYPE(def->st_info) != STT_GNU_IFUNC)
/freebsd-10.1-release/libexec/rtld-elf/i386/
H A Dreloc.c159 if (ELF_ST_TYPE(def->st_info) == STT_GNU_IFUNC) {
323 if (ELF_ST_TYPE(def->st_info) == STT_GNU_IFUNC) {
391 if (ELF_ST_TYPE(def->st_info) != STT_GNU_IFUNC)
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dmipsread.c156 unsigned char st_info[1]; /* Type and binding attributes */ member in struct:__anon1359
339 sym_info = bfd_h_get_8 (abfd, (bfd_byte *) x_symp->st_info);
/freebsd-10.1-release/libexec/rtld-elf/
H A Drtld.c527 sym_zero.st_info = ELF_ST_INFO(STB_GLOBAL, STT_NOTYPE);
690 if (ELF_ST_TYPE(def->st_info) == STT_GNU_IFUNC)
1544 if (ELF_ST_BIND(ref->st_info) != STB_LOCAL) {
1545 if (ELF_ST_TYPE(ref->st_info) == STT_SECTION) {
1567 if (def == NULL && ELF_ST_BIND(ref->st_info) == STB_WEAK) {
2999 ELF_ST_BIND(req.sym_out->st_info) != STB_WEAK) {
3002 if (ELF_ST_BIND(def->st_info) != STB_WEAK)
3012 if (def == NULL || ELF_ST_BIND(def->st_info) == STB_WEAK) {
3046 if (def == NULL || ELF_ST_BIND(def->st_info) == STB_WEAK) {
3075 if (ELF_ST_TYPE(def->st_info)
[all...]
/freebsd-10.1-release/sys/sys/
H A Delf32.h187 unsigned char st_info; /* Type and binding information. */ member in struct:__anon11359
192 /* Macros for accessing the fields of st_info. */
196 /* Macro for constructing st_info from field values. */
H A Delf64.h192 unsigned char st_info; /* Type and binding information. */ member in struct:__anon11375
199 /* Macros for accessing the fields of st_info. */
203 /* Macro for constructing st_info from field values. */

Completed in 175 milliseconds

123