Home
last modified time | relevance | path

Searched refs:rsym (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dsyms.c130 GElf_Sym rsym; in addr_map_sym() local
181 symr = &rsym; in addr_map_sym()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_link.c1022 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()
1437 if (rsym.st_shndx != SHN_SUNW_IGNORE) { in process_obj()
1438 rsym.st_shndx = SHN_SUNW_IGNORE; in process_obj()
1439 (void) gelf_update_sym(data_sym, ndx, &rsym); in process_obj()
/titanic_41/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c218 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()
/titanic_41/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c199 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()
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c356 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()
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c483 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()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dsyms.c2573 Sym *rsym; in ld_sym_process() local
2608 if ((rsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_process()
2611 *rsym = *nsym; in ld_sym_process()
2613 rsym->st_info = ELF_ST_INFO(STB_GLOBAL, ntype); in ld_sym_process()
2614 rsym->st_shndx = shndx = SHN_UNDEF; in ld_sym_process()
2615 rsym->st_value = 0; in ld_sym_process()
2616 rsym->st_size = 0; in ld_sym_process()
2620 nsym = rsym; in ld_sym_process()
H A Drelocate.c237 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()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c3172 Sym *rsym = slp->sl_rsym; in lookup_sym() local
3180 if (rsym) { in lookup_sym()
3181 vis = ELF_ST_VISIBILITY(rsym->st_other); in lookup_sym()
3195 if ((rsym->st_shndx != SHN_UNDEF) && in lookup_sym()
3207 (ELF_ST_BIND(rsym->st_info) == STB_WEAK)) in lookup_sym()
3230 if (rsym) { in lookup_sym()
3233 else if ((slp->sl_bind = ELF_ST_BIND(rsym->st_info)) == in lookup_sym()
H A Delf.c2407 elf_copy_reloc(char *name, Sym *rsym, Rt_map *rlmp, void *radd, Sym *dsym, argument
2414 rc.r_rsym = rsym; /* the new reference symbol and its */
2421 if (rsym->st_size > dsym->st_size)
2424 rc.r_size = (size_t)rsym->st_size;
2452 if (rsym->st_size != dsym->st_size) {
2455 NAME(rlmp), EC_XWORD(rsym->st_size),
2457 if (rsym->st_size > dsym->st_size)
/titanic_41/usr/src/cmd/sgs/include/
H A Drtld.h1074 #define SLOOKUP_INIT(sl, name, cmap, imap, id, hash, rsymndx, rsym, rtype, \ argument
1078 sl.sl_rsym = (rsym), sl.sl_rtype = (rtype), sl.sl_bind = 0, \