Home
last modified time | relevance | path

Searched refs:nsym (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dresolve.c189 nsym, ifl, ofl); in sym_visibility()
192 nsym, ifl, ofl); in sym_visibility()
202 nsym, ifl, ofl); in sym_visibility()
205 nsym, ifl, ofl); in sym_visibility()
216 nsym, ifl, ofl); in sym_visibility()
219 nsym, ifl, ofl); in sym_visibility()
319 Word shndx = nsym->st_shndx; in sym_promote()
390 *osym = *nsym; in sym_override()
898 balign = nsym->st_value;
900 salign = nsym->st_value;
[all …]
H A Dmachsym.sparc.c58 ld_reg_check_sparc(Sym_desc *sdp, Sym *nsym, const char *nname, Ifl_desc *ifl, in ld_reg_check_sparc() argument
68 if ((osym->st_name == 0) && (nsym->st_name == 0)) in ld_reg_check_sparc()
75 (ELF_ST_BIND(nsym->st_info) == STB_LOCAL)) { in ld_reg_check_sparc()
76 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc()
88 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc()
93 if (((osym->st_name == 0) || (nsym->st_name == 0)) || in ld_reg_check_sparc()
106 (nsym->st_shndx == SHN_ABS)) { in ld_reg_check_sparc()
119 conv_sym_SPARC_value(nsym->st_value, 0, &inv_buf2)); in ld_reg_check_sparc()
126 ld_mach_sym_typecheck_sparc(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, in ld_mach_sym_typecheck_sparc() argument
132 Byte ntype = ELF_ST_TYPE(nsym->st_info); in ld_mach_sym_typecheck_sparc()
[all …]
H A Dsyms.c276 Sym *nsym; in ld_sym_copy() local
281 *nsym = *(sdp->sd_sym); in ld_sym_copy()
282 sdp->sd_sym = nsym; in ld_sym_copy()
372 Sym *nsym; in ld_sym_enter() local
410 *nsym = *osym; in ld_sym_enter()
2510 Sym *nsym = sym; in ld_sym_process() local
2677 *rsym = *nsym; in ld_sym_process()
2682 nsym = rsym; in ld_sym_process()
2699 sdp->sd_sym = nsym; in ld_sym_process()
2793 *rsym = *nsym; in ld_sym_process()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Daudit.c858 Sym nsym = *sym; in audit_pltenter() local
862 return (nsym.st_value); in audit_pltenter()
881 return (nsym.st_value); in audit_pltenter()
1049 Sym nsym; in audit_symbind() local
1059 nsym = *sym; in audit_symbind()
1060 nsym.st_value = value; in audit_symbind()
1063 return (nsym.st_value); in audit_symbind()
1066 nsym.st_name += (Word)STRTAB(dlmp); in audit_symbind()
1072 rlmp, dlmp, &nsym, ndx, flags, &called); in audit_symbind()
1076 rlmp, dlmp, &nsym, ndx, flags, &called); in audit_symbind()
[all …]
H A Dcap.c1478 Sym *nsym = symtabptr + symndx; in cap_match() local
1479 const char *nname = strtabptr + nsym->st_name; in cap_match()
1496 bsym = nsym; in cap_match()
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c149 uintptr_t nsym = ~symval; in elf_plt_write() local
213 if ((nsym >> 32) == 0) { in elf_plt_write()
219 if ((nsym >> 44) == 0) { in elf_plt_write()
483 Sym *rsym, *nsym; in elf_bndr() local
578 nsym = sr.sr_sym; in elf_bndr()
580 symval = nsym->st_value; in elf_bndr()
583 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
596 uint_t symndx = (uint_t)(((uintptr_t)nsym - in elf_bndr()
599 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
615 uint_t symndx = (uint_t)(((uintptr_t)nsym - in elf_bndr()
[all …]
H A Dboot_elf.S389 ulong_t nsym = ~sym;
393 plttab[2] = (uint_t)(M_XNOR_G5G1 | LO10(nsym));
395 ((ulong_t)M_NOP << 32) | (M_SETHI_G5 | LM22(nsym));
438 ulong_t nsym = ~sym;
445 plttab[2] = (uint_t)(M_XNOR_G5G1 | M44(nsym));
446 *(ulong_t *)pc = ((ulong_t)M_NOP << 32) | (M_SETHI_G5 | H44(nsym));
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c218 Sym *rsym, *nsym; in elf_bndr() local
286 nsym = sr.sr_sym; in elf_bndr()
288 symval = nsym->st_value; in elf_bndr()
291 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
303 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
305 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
318 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
322 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
340 nsym->st_value, name, binfo)); in elf_bndr()
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c199 Sym *rsym, *nsym; in elf_bndr() local
265 nsym = sr.sr_sym; in elf_bndr()
267 symval = nsym->st_value; in elf_bndr()
270 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
282 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
284 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
297 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
301 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
319 nsym->st_value, name, binfo)); in elf_bndr()
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c356 Sym *rsym, *nsym; in elf_bndr() local
437 nsym = sr.sr_sym; in elf_bndr()
439 symval = nsym->st_value; in elf_bndr()
442 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
454 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr()
457 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
472 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr()
476 rptr, lmp, nlmp, nsym, symndx, pltndx, in elf_bndr()
494 pltndx, pbtype, nlmp, (Addr)symval, nsym->st_value, name, binfo)); in elf_bndr()
/illumos-gate/usr/src/cmd/dis/
H A Ddis_target.c262 int nsym = 0; /* count of symbols we're not interested in */ in construct_symtab() local
303 nsym++; in construct_symtab()
311 nsym++; in construct_symtab()
342 nsym++; in construct_symtab()
364 nsym++; in construct_symtab()
372 nsym++; in construct_symtab()
387 tgt->dt_symcount -= nsym; in construct_symtab()
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c175 Word nsym = 0; /* no. of symtab ntries */ in profile_open() local
267 nsym = hashp[1]; in profile_open()
281 csize = (nsym + 1) * PRF_CGINIT * sizeof (L_cgarc); in profile_open()
355 Hptr->hd_ncndx = nsym; in profile_open()
356 Hptr->hd_lcndx = (nsym + 1) * PRF_CGINIT; in profile_open()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_link.c717 dt_symtab_lookup(Elf_Data *data_sym, int nsym, uintptr_t addr, uint_t shn, in dt_symtab_lookup() argument
723 for (i = 0; i < nsym && gelf_getsym(data_sym, i, sym) != NULL; i++) { in dt_symtab_lookup()
1029 size_t symsize, nsym, isym, istr, len; in process_obj() local
1170 nsym = 0; in process_obj()
1235 nsym++; in process_obj()
1250 if (nsym > 0) { in process_obj()
1272 nsym * symsize)) == NULL) { in process_obj()
1291 data_sym->d_size += nsym * symsize; in process_obj()
1294 shdr_sym.sh_size += nsym * symsize; in process_obj()
1297 nsym += isym; in process_obj()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dload_elf_obj.c194 int i, nsym, res, ret, shdrbytes, symstrindex; in __elfN() local
232 nsym = 0; in __elfN()
236 nsym++; in __elfN()
243 if (nsym != 1) { in __elfN()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c233 int nsym = shdr.sh_size / shdr.sh_entsize; in ctf_write_elf() local
245 for (i = 0; i < nsym; i++) { in ctf_write_elf()
/illumos-gate/usr/src/boot/sys/sys/
H A Dlinker.h281 int nsym; /* Number of symbols. */ member
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c436 int col, Sym *osym, Sym *nsym, Sym_desc *sdp, Ifl_desc *ifl) in Dbg_syms_resolving() argument
456 osabi, mach, nsym, 0, 0, NULL, ifl->ifl_name); in Dbg_syms_resolving()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c6206 int nsym; /* The number of ambiguous matches */ in _gl_rebind_arrow_key() local
6211 if(_kt_lookup_keybinding(gl->bindings, name, strlen(name), &keysym, &nsym) in _gl_rebind_arrow_key()
8235 int nsym; /* The number of ambiguously matching key-sequences */ in gl_interpret_char() local
8259 switch(_kt_lookup_keybinding(gl->bindings, keyseq, nkey, &keysym, &nsym)) { in gl_interpret_char()