/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | syms.c | 130 GElf_Sym rsym; in addr_map_sym() local 181 symr = &rsym; in addr_map_sym()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | syms.c | 2658 Sym *rsym; in ld_sym_process() local 2674 if ((rsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_process() 2677 *rsym = *nsym; in ld_sym_process() 2678 rsym->st_shndx = shndx = SHN_UNDEF; in ld_sym_process() 2679 rsym->st_value = 0x0; in ld_sym_process() 2680 rsym->st_size = 0x0; in ld_sym_process() 2682 nsym = rsym; in ld_sym_process() 2755 Sym *rsym; in ld_sym_process() local 2790 if ((rsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_process() 2793 *rsym = *nsym; in ld_sym_process() [all …]
|
H A D | relocate.c | 237 Sym *rsym, *tsym; in disp_scansyms() local 264 rsym = rsdp->sd_sym; in disp_scansyms() 265 rtype = ELF_ST_TYPE(rsym->st_info); in disp_scansyms() 319 value = rsym->st_value; in disp_scansyms() 324 (rld->rel_roffset < (value + rsym->st_size))) in disp_scansyms()
|
H A D | update.c | 3764 Sym *rsym, *sym; in check_mapfile_assertions() local 3796 rsym = asdp->sd_sym; in check_mapfile_assertions() 3799 if ((rsym->st_value != sym->st_value) || in check_mapfile_assertions() 3800 (rsym->st_size != sym->st_size) || in check_mapfile_assertions() 3801 (ELF_ST_TYPE(rsym->st_info) != in check_mapfile_assertions()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 1022 GElf_Sym rsym, fsym, dsym; in process_obj() local 1189 &rsym) == NULL) { in process_obj() 1194 s = (char *)data_str->d_buf + rsym.st_name; in process_obj() 1322 if (gelf_getsym(data_sym, ndx, &rsym) == NULL || in process_obj() 1323 rsym.st_name > data_str->d_size) in process_obj() 1326 s = (char *)data_str->d_buf + rsym.st_name; in process_obj() 1443 if (rsym.st_shndx != SHN_SUNW_IGNORE) { in process_obj() 1444 rsym.st_shndx = SHN_SUNW_IGNORE; in process_obj() 1445 (void) gelf_update_sym(data_sym, ndx, &rsym); in process_obj()
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 218 Sym *rsym, *nsym; in elf_bndr() local 261 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr() 262 name = (char *)(STRTAB(lmp) + rsym->st_name); in elf_bndr() 275 rsymndx, rsym, 0, LKUP_DEFT); in elf_bndr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 199 Sym *rsym, *nsym; in elf_bndr() local 240 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr() 241 name = (char *)(STRTAB(lmp) + rsym->st_name); in elf_bndr() 254 rsymndx, rsym, 0, LKUP_DEFT); in elf_bndr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 356 Sym *rsym, *nsym; in elf_bndr() local 412 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr() 413 name = (char *)(STRTAB(lmp) + rsym->st_name); in elf_bndr() 426 rsymndx, rsym, 0, LKUP_DEFT); in elf_bndr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 483 Sym *rsym, *nsym; in elf_bndr() local 553 rsym = (Sym *)((ulong_t)SYMTAB(lmp) + (rsymndx * SYMENT(lmp))); in elf_bndr() 554 name = (char *)(STRTAB(lmp) + rsym->st_name); in elf_bndr() 567 rsymndx, rsym, 0, LKUP_DEFT); in elf_bndr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 3161 Sym *rsym = slp->sl_rsym; in lookup_sym() local 3169 if (rsym) { in lookup_sym() 3170 vis = ELF_ST_VISIBILITY(rsym->st_other); in lookup_sym() 3184 if ((rsym->st_shndx != SHN_UNDEF) && in lookup_sym() 3196 (ELF_ST_BIND(rsym->st_info) == STB_WEAK)) in lookup_sym() 3219 if (rsym) { in lookup_sym() 3222 else if ((slp->sl_bind = ELF_ST_BIND(rsym->st_info)) == in lookup_sym()
|
H A D | elf.c | 2384 elf_copy_reloc(char *name, Sym *rsym, Rt_map *rlmp, void *radd, Sym *dsym, argument 2391 rc.r_rsym = rsym; /* the new reference symbol and its */ 2398 if (rsym->st_size > dsym->st_size) 2401 rc.r_size = (size_t)rsym->st_size; 2429 if (rsym->st_size != dsym->st_size) { 2432 NAME(rlmp), EC_XWORD(rsym->st_size), 2434 if (rsym->st_size > dsym->st_size)
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | rtld.h | 1075 #define SLOOKUP_INIT(sl, name, cmap, imap, id, hash, rsymndx, rsym, rtype, \ argument 1079 sl.sl_rsym = (rsym), sl.sl_rtype = (rtype), sl.sl_bind = 0, \
|