Home
last modified time | relevance | path

Searched refs:symaddr (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c1211 uintptr_t symaddr; in sys_set_var() local
1215 symaddr = kobj_getelfsym(sysp->sys_ptr, NULL, &size); in sys_set_var()
1221 symaddr = kobj_getelfsym(sysp->sys_ptr, in sys_set_var()
1226 if (symaddr != (uintptr_t)NULL) { in sys_set_var()
1229 set_int8_var(symaddr, sysp); in sys_set_var()
1232 set_int16_var(symaddr, sysp); in sys_set_var()
1238 set_int32_var(symaddr, sysp); in sys_set_var()
1241 set_int64_var(symaddr, sysp); in sys_set_var()
1258 set_int8_var(uintptr_t symaddr, struct sysparam *sysp) in set_int8_var() argument
1265 *(uint8_t *)symaddr, sysp->sys_modnam); in set_int8_var()
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/
H A Drd_elf.c175 psaddr_t symaddr; in _rd_reset32() local
245 &symaddr) != PS_OK) { in _rd_reset32()
250 rap->rd_rdebug = symaddr; in _rd_reset32()
252 EC_ADDR(symaddr))); in _rd_reset32()
264 MSG_ORIG(MSG_SYM_DYNAMIC), &symaddr) != PS_OK) { in _rd_reset32()
269 rc = find_dynamic_ent32(rap, symaddr, DT_DEBUG, &dyn); in _rd_reset32()
345 MSG_ORIG(MSG_SYM_PREINIT), &symaddr) != PS_OK) { in _rd_reset32()
350 rap->rd_preinit = symaddr; in _rd_reset32()
353 MSG_ORIG(MSG_SYM_POSTINIT), &symaddr) != PS_OK) { in _rd_reset32()
358 rap->rd_postinit = symaddr; in _rd_reset32()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dreloc_elf.c52 __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata, in __elfN()
121 addr = symaddr(ef, symidx); in __elfN()
183 addr = symaddr(ef, symidx); in __elfN()
222 (void)symaddr; in __elfN()
H A Dload_elf.c81 static symaddr_fn __elfN(symaddr);
1123 error = __elfN(reloc)(ef, __elfN(symaddr), &r, ELF_RELOC_REL, in __elfN()
1131 error = __elfN(reloc)(ef, __elfN(symaddr), &a, ELF_RELOC_RELA, in __elfN()
1141 __elfN(symaddr)(struct elf_file *ef __unused, Elf_Size symidx __unused) in __elfN() argument
H A Dbootstrap.h301 int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr,
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c95 Addr symaddr = crp->c_val; in is_disp_copied() local
180 (reloc->r_offset < symaddr) || in is_disp_copied()
182 (symaddr + sdp->sd_sym->st_size))) in is_disp_copied()