Lines Matching defs:refobj
98 static Obj_Entry *dlopen_object(const char *name, int fd, Obj_Entry *refobj,
163 static int symlook_default(SymLook *, const Obj_Entry *refobj);
1866 find_library(const char *xname, const Obj_Entry *refobj, int *fdp)
1872 objgiven = refobj != NULL;
1875 (name = lm_find(refobj->path, xname)) == NULL)
1885 return (origin_subst(__DECONST(Obj_Entry *, refobj),
1890 refobj_path = objgiven ? refobj->path : NULL;
1893 * If refobj->rpath != NULL, then refobj->runpath is NULL. Fall
1898 if (objgiven && refobj->rpath != NULL && ld_library_path_rpath) {
1903 if (refobj != NULL) {
1904 pathname = search_library_path(name, refobj->rpath,
1921 nodeflib = objgiven ? refobj->z_nodeflib : false;
1923 pathname = search_library_path(name, refobj->rpath,
1924 refobj->path, fdp);
1928 if (objgiven && refobj->runpath == NULL && refobj != obj_main) {
1939 pathname = search_library_path(name, refobj->runpath,
1959 if (objgiven && refobj->path != NULL) {
1962 name, basename(refobj->path));
1976 find_symdef(unsigned long symnum, const Obj_Entry *refobj,
1992 if (symnum >= refobj->dynsymcount)
1999 ref = refobj->symtab + symnum;
2000 name = refobj->strtab + ref->st_name;
2016 refobj->path, symnum);
2020 ve = req.ventry = fetch_ventry(refobj, symnum);
2022 res = symlook_default(&req, refobj);
2029 defobj = refobj;
2050 if (refobj != &obj_rtld)
2052 refobj->path, name, ve != NULL ? "@" : "",
2737 load_object(const char *name, int fd_u, const Obj_Entry *refobj, int flags)
2753 path = find_library(name, refobj, &fd);
3778 dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags,
3787 "dlopen_object name \"%s\" fd %d refobj \"%s\" lo_flags %#x mode %#x",
3789 refobj == NULL ? "<null>" : refobj->path, lo_flags, mode);
3803 obj = load_object(name, fd, refobj, lo_flags);
4660 symlook_default(SymLook *req, const Obj_Entry *refobj)
4674 res = symlook_obj(&req1, refobj);
4675 if (res == 0 && (refobj->symbolic ||
4681 if (refobj->symbolic || req->defobj_out != NULL)
4682 donelist_check(&donelist, refobj);
4684 if (!refobj->deepbind)
4688 STAILQ_FOREACH(elm, &refobj->dldags, link) {
4701 if (refobj->deepbind)
5758 check_object_provided_version(Obj_Entry *refobj, const Obj_Entry *depobj,
5764 vername = refobj->strtab + vna->vna_name;
5768 depobj->path, vername, refobj->path);
5793 vername, refobj->path);