Lines Matching refs:ofl

62 compat_YL_YU(Ofl_desc *ofl, char *path, int index)  in compat_YL_YU()  argument
71 DBG_CALL(Dbg_libs_ylu(ofl->ofl_lml, Llibdir, in compat_YL_YU()
82 DBG_CALL(Dbg_libs_ylu(ofl->ofl_lml, Ulibdir, in compat_YL_YU()
91 process_lib_path(Ofl_desc *ofl, APlist **apl, char *path, Boolean subsflag) in process_lib_path() argument
104 compat_YL_YU(ofl, dot, i) : dot), in process_lib_path()
109 compat_YL_YU(ofl, path, i) : path), in process_lib_path()
120 compat_YL_YU(ofl, dot, i) : dot), in process_lib_path()
125 compat_YL_YU(ofl, path, i) : path), in process_lib_path()
138 compat_YL_YU(ofl, path, i) : path), in process_lib_path()
144 compat_YL_YU(ofl, dot, i) : dot), in process_lib_path()
158 ld_add_libdir(Ofl_desc *ofl, const char *path) in ld_add_libdir() argument
160 if (aplist_insert(&ofl->ofl_ulibdirs, path, in ld_add_libdir()
168 DBG_CALL(Dbg_libs_update(ofl->ofl_lml, ofl->ofl_ulibdirs, in ld_add_libdir()
169 ofl->ofl_dlibdirs)); in ld_add_libdir()
178 find_lib_name(const char *dir, const char *file, Ofl_desc *ofl, Rej_desc *rej, in find_lib_name() argument
203 if (ofl->ofl_flags & FLG_OF_DYNLIBS) { in find_lib_name()
206 DBG_CALL(Dbg_libs_l(ofl->ofl_lml, file, path)); in find_lib_name()
214 ofl, FLG_IF_NEEDED, rej, NULL); in find_lib_name()
218 ld_eprintf(ofl, ERR_WARNING, in find_lib_name()
240 DBG_CALL(Dbg_libs_l(ofl->ofl_lml, file, path)); in find_lib_name()
247 open_ret = ld_process_open(_path, &_path[dlen], &fd, ofl, in find_lib_name()
284 ld_find_library(const char *name, Ofl_desc *ofl) in ld_find_library() argument
295 for (APLIST_TRAVERSE(ofl->ofl_ulibdirs, idx, path)) { in ld_find_library()
298 if ((open_ret = find_lib_name(path, name, ofl, &_rej, in ld_find_library()
307 if (ofl->ofl_flags & FLG_OF_ADEFLIB) { in ld_find_library()
309 for (APLIST_TRAVERSE(ofl->ofl_assdeflib, idx, path)) { in ld_find_library()
322 for (APLIST_TRAVERSE(ofl->ofl_dlibdirs, idx, path)) { in ld_find_library()
325 if ((open_ret = find_lib_name(path, name, ofl, &_rej, in ld_find_library()
344 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(reject[rej.rej_type]), in ld_find_library()
348 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_LIB_NOTFOUND), name); in ld_find_library()
371 ld_lib_setup(Ofl_desc *ofl) in ld_lib_setup() argument
378 if (!(ofl->ofl_flags & FLG_OF_IGNENV)) { in ld_lib_setup()
391 DBG_CALL(Dbg_libs_path(ofl->ofl_lml, path, LA_SER_DEFAULT, 0)); in ld_lib_setup()
397 path = process_lib_path(ofl, &ofl->ofl_ulibdirs, path, FALSE); in ld_lib_setup()
407 Lidx = aplist_nitems(ofl->ofl_ulibdirs); in ld_lib_setup()
410 cp = process_lib_path(ofl, &ofl->ofl_ulibdirs, path, in ld_lib_setup()
415 ld_eprintf(ofl, ERR_WARNING, in ld_lib_setup()
423 DBG_CALL(Dbg_libs_yp(ofl->ofl_lml, Plibpath)); in ld_lib_setup()
424 cp = process_lib_path(ofl, &ofl->ofl_dlibdirs, Plibpath, TRUE); in ld_lib_setup()
428 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_LIB_BADYP)); in ld_lib_setup()
431 DBG_CALL(Dbg_libs_init(ofl->ofl_lml, ofl->ofl_ulibdirs, in ld_lib_setup()
432 ofl->ofl_dlibdirs)); in ld_lib_setup()