Home
last modified time | relevance | path

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

12345

/openbsd/src/libexec/ld.so/powerpc64/
Drtld_machine.c102 !(ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
103 ELF_ST_TYPE (sym->st_info) == STT_NOTYPE) && in _dl_md_reloc()
113 if (ELF_ST_BIND(sym->st_info) != STB_WEAK) in _dl_md_reloc()
124 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
125 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
126 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE) ) { in _dl_md_reloc()
134 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
135 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
136 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE) ) { in _dl_md_reloc()
/openbsd/src/libexec/ld.so/powerpc/
Drtld_machine.c106 !(ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
107 ELF_ST_TYPE (sym->st_info) == STT_NOTYPE) && in _dl_md_reloc()
117 if (ELF_ST_BIND(sym->st_info) != STB_WEAK) in _dl_md_reloc()
128 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
129 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
130 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE) ) { in _dl_md_reloc()
138 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
139 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
140 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE) ) { in _dl_md_reloc()
/openbsd/src/libexec/ld.so/mips64/
Drtld_machine.c96 else if (!(ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
97 ELF_ST_TYPE (sym->st_info) == STT_NOTYPE)) { in _dl_md_reloc()
105 if (ELF_ST_BIND(sym->st_info) != in _dl_md_reloc()
119 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
120 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
121 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE) ) in _dl_md_reloc()
196 ELF_ST_TYPE(symp->st_info) == STT_FUNC) { in _dl_md_reloc_got()
213 } else if ((ELF_ST_TYPE(symp->st_info) == STT_FUNC && in _dl_md_reloc_got()
Darchdep.h78 if (ELF_ST_BIND(sp->st_info) != STB_WEAK) \
80 } else if (ELF_ST_TYPE(sp->st_info) == STT_FUNC) { \
/openbsd/src/libexec/ld.so/m88k/
Drtld_machine.c134 !(ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
135 ELF_ST_TYPE (sym->st_info) == STT_NOTYPE) && in _dl_md_reloc()
137 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
138 ELF_ST_TYPE(sym->st_info) == STT_SECTION) { in _dl_md_reloc()
151 if (ELF_ST_BIND(sym->st_info) != in _dl_md_reloc()
169 if (ELF_ST_BIND(sym->st_info) == STB_LOCAL && in _dl_md_reloc()
170 (ELF_ST_TYPE(sym->st_info) == STT_SECTION || in _dl_md_reloc()
171 ELF_ST_TYPE(sym->st_info) == STT_NOTYPE)) in _dl_md_reloc()
/openbsd/src/sys/ddb/
Ddb_elf.c285 if (ELF_SYM_TYPE(symp->st_info) != Elf_estt_object && in db_elf_sym_search()
286 ELF_SYM_TYPE(symp->st_info) != Elf_estt_func) in db_elf_sym_search()
296 ELF_ST_TYPE(symp->st_info) in db_elf_sym_search()
298 ELF_ST_BIND(symp->st_info) in db_elf_sym_search()
302 ELF_ST_BIND(symp->st_info) in db_elf_sym_search()
309 else if (ELF_ST_BIND(rsymp->st_info) in db_elf_sym_search()
311 ELF_ST_BIND(symp->st_info) in db_elf_sym_search()
411 switch (ELF_ST_TYPE(symp->st_info)) { in db_elf_sym_forall()
/openbsd/src/usr.sbin/crunchgen/
Delf_hide.c225 if ((psymtab->st_info & 0xf0) == 0x10 && in dump_symtab()
232 printf("st_info %x\n", psymtab->st_info); in dump_symtab()
314 if ((psymtab->st_info & 0xf0) == 0x10 && in hide_sym()
322 printf("st_info %x\n", psymtab->st_info); in hide_sym()
325 info = psymtab->st_info; in hide_sym()
327 psymtab->st_info = info; in hide_sym()
332 printf("st_info %x\n", psymtab->st_info); in hide_sym()
361 if ((tmpsymtab[i].st_info & 0xf0) == 0x00) { in reorder_syms()
374 if ((tmpsymtab[i].st_info & 0xf0) != 0x00) { in reorder_syms()
/openbsd/src/lib/libelf/
Dgelf_sym.c86 dst->st_info = sym32->st_info; in gelf_getsym()
146 sym32->st_info = gs->st_info; in gelf_update_sym()
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf-vxworks.c51 sym->st_info = ELF_ST_INFO (STB_WEAK, ELF_ST_TYPE (sym->st_info)); in elf_vxworks_add_symbol_hook()
127 sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info)); in elf_vxworks_link_output_symbol_hook()
Delf64-sparc.c426 if (ELF_ST_TYPE (sym->st_info) == STT_REGISTER) in elf64_sparc_add_symbol_hook()
495 p->bind = ELF_ST_BIND (sym->st_info); in elf64_sparc_add_symbol_hook()
502 && ELF_ST_BIND (sym->st_info) == STB_GLOBAL) in elf64_sparc_add_symbol_hook()
521 unsigned char type = ELF_ST_TYPE (sym->st_info); in elf64_sparc_add_symbol_hook()
585 sym.st_info = ELF_ST_INFO (app_regs [reg].bind, STT_REGISTER); in elf64_sparc_output_arch_syms()
600 if (ELF_ST_TYPE (elf_sym->st_info) == STT_REGISTER) in elf64_sparc_get_symbol_type()
615 if (elfsym->internal_elf_sym.st_info in elf64_sparc_symbol_processing()
740 if (ELF_ST_TYPE (((elf_symbol_type *) symbol)->internal_elf_sym.st_info) in elf64_sparc_print_symbol_all()
/openbsd/src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h228 unsigned char st_info; ///< Symbol type and binding attributes. member
235 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
238 unsigned char getType() const { return st_info & 0x0F; } in getType()
242 st_info = (binding << 4) + (type & 0x0F); in setBindingAndType()
DELFHeader.cpp319 idx, st_value, st_size, st_name, st_info, in Dump()
340 if (data.GetU8(offset, &st_info, 2) == nullptr) in Parse()
348 if (data.GetU8(offset, &st_info, 2) == nullptr) in Parse()
/openbsd/src/gnu/llvm/llvm/include/llvm/BinaryFormat/
DELF.h1193 unsigned char st_info; // Symbol's type and binding attributes member
1199 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1200 unsigned char getType() const { return st_info & 0x0f; } in getType()
1204 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
1211 unsigned char st_info; // Symbol's type and binding attributes member
1219 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1220 unsigned char getType() const { return st_info & 0x0f; } in getType()
1224 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/openbsd/src/usr.bin/nm/
Delf.c324 ELF_ST_TYPE(sym->st_info), ELF_ST_BIND(sym->st_info), in elf2nlist()
329 switch (stt = ELF_ST_TYPE(sym->st_info)) { in elf2nlist()
348 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in elf2nlist()
355 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in elf2nlist()
388 if (np->nl.n_type != N_UNDF && ELF_ST_BIND(sym->st_info) != STB_LOCAL) { in elf2nlist()
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/config/
Dtc-hppa.h173 ? (((elf)->internal_elf_sym.st_info = ELF_ST_INFO \
174 (ELF_ST_BIND ((elf)->internal_elf_sym.st_info), STT_PARISC_MILLI)\
/openbsd/src/gnu/usr.bin/binutils-2.17/include/elf/
Dexternal.h132 unsigned char st_info[1]; /* Type and binding attributes */ member
139 unsigned char st_info[1]; /* Type and binding attributes */ member
/openbsd/src/gnu/usr.bin/binutils/include/elf/
Dexternal.h132 unsigned char st_info[1]; /* Type and binding attributes */ member
139 unsigned char st_info[1]; /* Type and binding attributes */ member
/openbsd/src/gnu/usr.bin/binutils/gas/config/
Dtc-hppa.h179 ? (((elf)->internal_elf_sym.st_info = ELF_ST_INFO \
180 (ELF_ST_BIND ((elf)->internal_elf_sym.st_info), STT_PARISC_MILLI)\
/openbsd/src/usr.bin/gprof/
Delf.c137 type = ELF_ST_TYPE(sym->st_info); in wantsym()
138 bind = ELF_ST_BIND(sym->st_info); in wantsym()
/openbsd/src/usr.sbin/installboot/
Di386_nlist.c255 switch(ELF_ST_TYPE(s->st_info)) { in __elf_fdnlist()
282 if (ELF_ST_BIND(s->st_info) == STB_LOCAL) in __elf_fdnlist()
/openbsd/src/lib/libc/gen/
Dnlist.c246 switch(ELF_ST_TYPE(s->st_info)) { in __fdnlist()
273 if (ELF_ST_BIND(s->st_info) == STB_LOCAL) in __fdnlist()
/openbsd/src/libexec/ld.so/
Dresolve.c536 switch (ELF_ST_TYPE(sym->st_info)) { in matched_symbol()
568 if (ELF_ST_BIND(sym->st_info) == STB_GLOBAL) { in matched_symbol()
572 } else if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in matched_symbol()
726 (ELF_ST_BIND(ref_sym->st_info) != STB_WEAK)) && in _dl_find_symbol()
736 (ELF_ST_TYPE(sl.sl_out.sym->st_info) != STT_FUNC)) { in _dl_find_symbol()
/openbsd/src/gnu/llvm/llvm/include/llvm/Object/
DELFTypes.h199 unsigned char st_info; // Symbol's type and binding attributes
208 unsigned char st_info; // Symbol's type and binding attributes
217 using Elf_Sym_Base<ELFT>::st_info;
224 unsigned char getBinding() const { return st_info >> 4; }
225 unsigned char getType() const { return st_info & 0x0f; }
231 st_info = (b << 4) + (t & 0x0f);
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dmipsread.c134 unsigned char st_info[1]; /* Type and binding attributes */ member
317 sym_info = bfd_h_get_8 (abfd, (bfd_byte *) x_symp->st_info); in read_alphacoff_dynamic_symtab()
/openbsd/src/usr.sbin/kvm_mkdb/
Dnlist.c187 switch(ELF_ST_TYPE(sbuf.st_info)) { in __elf_knlist()
214 if (ELF_ST_BIND(sbuf.st_info) == STB_LOCAL) in __elf_knlist()

12345