Lines Matching refs:obj
141 Obj_Entry *obj = _rtld_objlist;
142 _rtld_objlist = obj->next;
143 while (obj->rpaths != NULL) {
144 const Search_Path *rpath = obj->rpaths;
145 obj->rpaths = rpath->sp_next;
149 while (obj->needed != NULL) {
150 const Needed_Entry *needed = obj->needed;
151 obj->needed = needed->next;
154 (void) munmap(obj->mapbase, obj->mapsize);
155 xfree(obj->path);
156 xfree(obj);
167 fmtprint(const char *libname, Obj_Entry *obj, const char *fmt1,
170 const char *libpath = obj ? obj->path : "not found";
242 printf("%p", obj ? obj->mapbase : 0);
252 print_needed(Obj_Entry *obj, const char *fmt1, const char *fmt2)
256 for (needed = obj->needed; needed != NULL; needed = needed->next) {
257 const char *libname = obj->strtab + needed->name;
259 if (needed->obj != NULL) {
260 if (!needed->obj->printed) {
261 fmtprint(libname, needed->obj, fmt1, fmt2);
262 needed->obj->printed = 1;
263 print_needed(needed->obj, fmt1, fmt2);
266 fmtprint(libname, needed->obj, fmt1, fmt2);