| /illumos-gate/usr/src/cmd/sgs/libld/common/ |
| H A D | machsym.sparc.c | 76 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc() 80 conv_sym_SPARC_value(osym->st_value, 0, &inv_buf1), in ld_reg_check_sparc() 88 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc() 96 conv_sym_SPARC_value(osym->st_value, 0, &inv_buf1), in ld_reg_check_sparc() 108 conv_sym_SPARC_value(osym->st_value, 0, &inv_buf1), in ld_reg_check_sparc() 117 conv_sym_SPARC_value(osym->st_value, 0, &inv_buf1), in ld_reg_check_sparc() 119 conv_sym_SPARC_value(nsym->st_value, 0, &inv_buf2)); in ld_reg_check_sparc() 175 if ((sym->st_value < STO_SPARC_REGISTER_G1) || in ld_is_regsym_sparc() 176 (sym->st_value > STO_SPARC_REGISTER_G7)) { in ld_is_regsym_sparc() 178 ifl->ifl_name, symsecname, symndx, EC_XWORD(sym->st_value)); in ld_is_regsym_sparc() [all …]
|
| H A D | update.c | 76 return ((s1->st_value < s2->st_value) ? -1 : in dynsort_compare() 77 (s1->st_value > s2->st_value)); in dynsort_compare() 111 cmp_addr = ldynsym[symsort[cmp_ndx]].st_value; in dynsort_dupwarn() 113 addr = ldynsym[symsort[ndx]].st_value; in dynsort_dupwarn() 346 sym->st_value = 0; in update_osym() 360 sym->st_value = 0; in update_osym() 410 sym->st_value = osp->os_shdr->sh_addr; in update_osym() 795 sym->st_value = parexpnaddr; in update_osym() 798 sym->st_value -= parexpnbase; in update_osym() 810 sym->st_value += in update_osym() [all …]
|
| H A D | syms.c | 699 usdp->sd_sym->st_value = 0; in sym_add_spec() 746 sym->st_value = 0; in sym_add_spec() 783 sdp->sd_sym->st_value = 0; in sym_add_spec() 974 bsdp->sd_sym->st_value = 0; in sym_add_bounds() 1661 sym->st_value) + sym->st_size; in ld_sym_validate() 1662 if (sym->st_value > bssalign) in ld_sym_validate() 1663 bssalign = sym->st_value; in ld_sym_validate() 1667 sym->st_value) + sym->st_size; in ld_sym_validate() 1668 if (sym->st_value > tlsalign) in ld_sym_validate() 1669 tlsalign = sym->st_value; in ld_sym_validate() [all …]
|
| H A D | resolve.c | 874 if ((osym->st_value != nsym->st_value) && 896 if (osym->st_value < nsym->st_value) { 897 salign = osym->st_value; 898 balign = nsym->st_value; 900 salign = nsym->st_value; 901 balign = osym->st_value; 917 sdp->sd_file->ifl_name, EC_XWORD(osym->st_value), 918 ifl->ifl_name, EC_XWORD(nsym->st_value)); 1043 sdp->sd_sym->st_value = value;
|
| /illumos-gate/usr/src/cmd/dis/ |
| H A D | dis_target.c | 163 if (syma->se_sym.st_value < symb->se_sym.st_value) in sym_compare() 166 if (syma->se_sym.st_value > symb->se_sym.st_value) in sym_compare() 335 if (sym->se_sym.st_value == 0) { in construct_symtab() 381 sym->se_sym.st_value += in construct_symtab() 671 addr >= tgt->dt_symcache->se_sym.st_value && in dis_tgt_lookup() 672 addr < tgt->dt_symcache->se_sym.st_value + in dis_tgt_lookup() 675 *offset = addr - sym->se_sym.st_value; in dis_tgt_lookup() 692 if (addr >= sym->se_sym.st_value && in dis_tgt_lookup() 693 addr < sym->se_sym.st_value + sym->se_sym.st_size && in dis_tgt_lookup() 694 (!found || sym->se_sym.st_value > osym->se_sym.st_value)) { in dis_tgt_lookup() [all …]
|
| /illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
| H A D | syms.c | 85 symptr->st_value += (GElf_Addr)(mp->mi_addr); in str_map_sym() 159 svalue = (ulong_t)sym.st_value; in addr_map_sym() 169 (svalue >= (ulong_t)lsymr->st_value))) { in addr_map_sym() 170 if (lsymr && (lsymr->st_value == svalue)) in addr_map_sym() 177 (svalue >= (ulong_t)symr->st_value)) { in addr_map_sym() 178 if (symr && (symr->st_value == svalue)) in addr_map_sym() 195 if (symr && (lsymr->st_value > symr->st_value)) in addr_map_sym() 203 symptr->st_value += baseaddr; in addr_map_sym()
|
| /illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
| H A D | common_sparc.c | 70 if (sym1->st_value == sym2->st_value) in check_regsyms() 75 if (sym1->st_value == sym2->st_value) { in check_regsyms() 145 conv_sym_SPARC_value(symdef->st_value, in elf_regsyms() 151 conv_sym_SPARC_value(symdef->st_value, in elf_regsyms()
|
| /illumos-gate/usr/src/lib/libdtrace/i386/ |
| H A D | dt_isadep.c | 65 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_entry_probe() 94 size = dt_instr_size(&text[i], dtp, pid, symp->st_value + i, in dt_pid_has_jump_table() 142 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 149 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_return_probe() 169 symp->st_value + i, dmodel); in dt_pid_create_return_probe() 202 symp->st_value + i, dmodel); in dt_pid_create_return_probe() 272 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_offset_probe() 290 if (Pread(P, text, symp->st_size, symp->st_value) != in dt_pid_create_offset_probe() 324 symp->st_value + i, dmodel); in dt_pid_create_offset_probe() 360 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_glob_offset_probes() [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/logindmux/ |
| H A D | logindmux.c | 109 mdb_qops_install(&logdmux_uqops, (uintptr_t)sym.st_value); in _mdb_init() 111 mdb_qops_install(&logdmux_lqops, (uintptr_t)sym.st_value); in _mdb_init() 122 mdb_qops_remove(&logdmux_uqops, (uintptr_t)sym.st_value); in _mdb_fini() 124 mdb_qops_remove(&logdmux_lqops, (uintptr_t)sym.st_value); in _mdb_fini()
|
| /illumos-gate/usr/src/cmd/mdb/common/mdb/ |
| H A D | mdb_gelf.c | 856 if (lhs->st_value != rhs->st_value) in gelf32_sym_compare() 857 return (lhs->st_value > rhs->st_value ? 1 : -1); in gelf32_sym_compare() 884 if (lhs->st_value != rhs->st_value) in gelf64_sym_compare() 885 return (lhs->st_value > rhs->st_value ? 1 : -1); in gelf64_sym_compare() 911 if (sym->st_value != 0 && in gelf32_symtab_sort() 971 if (sym->st_value != 0 && in gelf32_symtab_init() 983 sym->st_value += gsp->gs_shdr.sh_offset; in gelf32_symtab_init() 1008 if (sym->st_value != 0 && in gelf64_symtab_sort() 1068 if (sym->st_value != 0 && in gelf64_symtab_init() 1080 sym->st_value += gsp->gs_shdr.sh_offset; in gelf64_symtab_init() [all …]
|
| H A D | mdb_linkerset.c | 200 if (stop_sym.st_value < addr) { in ldset_get_info() 209 ldsi->ldsi_endaddr = stop_sym.st_value; in ldset_get_info() 210 ldsi->ldsi_nelem = (stop_sym.st_value - addr) / ldsi->ldsi_ptrsize; in ldset_get_info() 252 if (stop_sym.st_value < sym->st_value) { in ldsets_init_cb() 256 if (mdb_nv_insert(nv, ldset_name, NULL, sym->st_value, in ldsets_init_cb() 404 ret = ldset_get_info((uintptr_t)start_sym.st_value, &info); in cmd_linkerset()
|
| H A D | mdb_nm.c | 313 MDB_TBL_PRNT, NM_FMT_VALUE, niip->nii_pfmt, sym->st_value, in nm_print() 367 sym->st_value, opts, sym->st_size, name); in nm_asgn() 437 return (lhs->nm_sym.st_value < rhs->nm_sym.st_value ? -1 : in nm_compare_val() 438 (lhs->nm_sym.st_value > rhs->nm_sym.st_value ? 1 : 0)); in nm_compare_val() 853 sym.st_value = (GElf_Addr)addr; in cmd_nmadd() 858 argv[i].a_un.a_str, sym.st_value, sym.st_size); in cmd_nmadd() 880 name, sym.st_value, sym.st_size); in cmd_nmdel()
|
| /illumos-gate/usr/src/lib/libdtrace/sparc/ |
| H A D | dt_isadep.c | 55 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_entry_probe() 83 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 96 ftp->ftps_pc = symp->st_value; in dt_pid_create_return_probe() 110 instr.ftiq_pc = symp->st_value + i * 4; in dt_pid_create_return_probe() 283 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_offset_probe() 305 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_glob_offset_probes()
|
| /illumos-gate/usr/src/cmd/sgs/rtld/common/ |
| H A D | audit.c | 820 Addr ovalue = sym->st_value; in _audit_pltenter() 836 sym->st_value = (Addr)(*alp->al_pltenter)(sym, ndx, in _audit_pltenter() 847 if (ovalue != sym->st_value) { in _audit_pltenter() 849 alp->al_libname, name, sym->st_value)); in _audit_pltenter() 862 return (nsym.st_value); in audit_pltenter() 881 return (nsym.st_value); in audit_pltenter() 985 Addr ovalue = sym->st_value; in _audit_symbind() 1015 sym->st_value = (*alp->al_symbind)(sym, ndx, racp == NULL ? in _audit_symbind() 1033 if ((ovalue != sym->st_value) && in _audit_symbind() 1037 if ((ovalue != sym->st_value) || (oflags != *flags)) { in _audit_symbind() [all …]
|
| /illumos-gate/usr/src/lib/libdtrace/common/ |
| H A D | dt_module.c | 89 if (sym->st_value != 0 && in dt_module_syminit32() 122 if (sym->st_value != 0 && in dt_module_syminit64() 143 if (lhs->st_value != rhs->st_value) in dt_module_symcomp32() 144 return (lhs->st_value > rhs->st_value ? 1 : -1); in dt_module_symcomp32() 172 if (lhs->st_value != rhs->st_value) in dt_module_symcomp64() 173 return (lhs->st_value > rhs->st_value ? 1 : -1); in dt_module_symcomp64() 200 if (sym->st_value != 0 && in dt_module_symsort32() 224 if (sym->st_value != 0 && in dt_module_symsort64() 246 dst->st_value = src->st_value; in dt_module_symgelf32() 338 if (addr >= asmap[mid]->st_value) in dt_module_symaddr32() [all …]
|
| H A D | dt_pid.c | 227 symp->st_value != pp->dpp_last.st_value || in dt_pid_sym_filt() 269 pp->dpp_stret[0] = sym.st_value; in dt_pid_per_mod() 275 pp->dpp_stret[1] = sym.st_value; in dt_pid_per_mod() 281 pp->dpp_stret[2] = sym.st_value; in dt_pid_per_mod() 287 pp->dpp_stret[3] = sym.st_value; in dt_pid_per_mod() 317 sym.st_value = 0; in dt_pid_per_mod() 342 if (Ppltdest(pp->dpp_pr, sym.st_value) != NULL) in dt_pid_per_mod() 345 (void) Plookup_by_addr(pp->dpp_pr, sym.st_value, pp->dpp_func, in dt_pid_per_mod() 554 dh.dofhp_dof = sym.st_value; in dt_pid_usdt_mapping()
|
| /illumos-gate/usr/src/cmd/sgs/librtld/common/ |
| H A D | syms.c | 66 if (syms->st_value) in update_sym() 67 syms->st_value += addr; in update_sym() 76 syms->st_value = edata + addr; in update_sym()
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/mm/ |
| H A D | mm.c | 41 kw->kmlw_addr = sym.st_value; in kmemlog_walk_init() 43 if (mdb_vread(kw->kmlw_entries, sym.st_size, sym.st_value) == -1) { in kmemlog_walk_init() 44 mdb_warn("couldn't read log at %p", sym.st_value); in kmemlog_walk_init()
|
| /illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
| H A D | who.c | 223 if (((uintptr_t)_sym->st_value < (uintptr_t)pc) && in print_address() 224 (_sym->st_value > sym->st_value)) in print_address() 229 (ulong_t)((uintptr_t)pc - (uintptr_t)sym->st_value)); in print_address() 322 return (symp->st_value); in la_sparcv9_pltenter()
|
| /illumos-gate/usr/src/lib/libm/common/m9x/ |
| H A D | __fex_sym.c | 287 if (s[j].st_value < ph[i].p_vaddr || s[j].st_value >= ph[i].p_vaddr in __fex_sym() 293 if (s[j].st_value < value || s[j].st_value > va) in __fex_sym() 296 value = s[j].st_value; in __fex_sym()
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
| H A D | ptm.c | 317 mdb_qops_install(&ptm_qops, (uintptr_t)sym.st_value); in _mdb_init() 319 mdb_qops_install(&pts_qops, (uintptr_t)sym.st_value); in _mdb_init() 330 mdb_qops_remove(&ptm_qops, (uintptr_t)sym.st_value); in _mdb_fini() 332 mdb_qops_remove(&pts_qops, (uintptr_t)sym.st_value); in _mdb_fini()
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
| H A D | sppp.c | 489 (uintptr_t)sym.st_value) == -1) { in tunll_walk_init() 491 (uintptr_t)sym.st_value); in tunll_walk_init() 498 twd->listhead = (void *)(uintptr_t)sym.st_value; in tunll_walk_init() 701 mdb_qops_install(&sppp_qops, (uintptr_t)sym.st_value); in _mdb_init() 704 mdb_qops_install(&sppptun_qops, (uintptr_t)sym.st_value); in _mdb_init() 715 mdb_qops_remove(&sppptun_qops, (uintptr_t)sym.st_value); in _mdb_fini() 718 mdb_qops_remove(&sppp_qops, (uintptr_t)sym.st_value); in _mdb_fini()
|
| /illumos-gate/usr/src/test/libproc-tests/tests/syscall/ |
| H A D | pr_inject.c | 199 if (Psetbkpt(P, sym.st_value, &bkpt) != 0) { in main() 201 "(0x%" PRIx64 ")", sym.st_value); in main() 225 if (Pdelbkpt(P, sym.st_value, bkpt) != 0) { in main()
|
| /illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
| H A D | kctl_auxv.c | 48 addr = ksym->st_value; in kctl_lookup_by_name() 67 return (ksym->st_value); in kctl_boot_lookup_by_name()
|
| /illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
| H A D | i386_elf.c | 170 symp->st_value = (Addr)to; in elf_plt_trace_write() 267 symval = nsym->st_value; in elf_bndr() 319 nsym->st_value, name, binfo)); in elf_bndr() 438 _pltbgn = symdef->st_value; in elf_reloc() 740 value = symdef->st_value; in elf_reloc() 882 _lmp, (Addr)value, symdef->st_value, name, binfo)); in elf_reloc() 958 ref = (void *)(symref->st_value); in _elf_copy_reloc() 961 def = (void *)(symdef->st_value); in _elf_copy_reloc()
|