Lines Matching defs:ofl

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