Lines Matching refs:path
178 link path.
365 another file on the search path. */
453 /* Search for a needed file in a path. */
456 gld${EMULATION_NAME}_search_needed (const char *path,
467 if (path == NULL || *path == '\0')
478 s = strchr (path, config.rpath_separator);
480 s = path + strlen (path);
485 && s == path + 1
486 && ISALPHA (*path))
490 s = path + strlen (path);
493 filename = (char *) xmalloc (s - path + len + 2);
494 if (s == path)
498 memcpy (filename, path, s - path);
499 filename[s - path] = '/';
500 sset = filename + (s - path) + 1;
512 path = s + 1;
522 /* Add the sysroot to every entry in a path separated by
526 gld${EMULATION_NAME}_add_sysroot (const char *path)
531 len = strlen (path);
534 while (path[i])
535 if (path[i++] == config.rpath_separator)
538 if (path[i])
546 while (path[i])
547 if (path[i] == config.rpath_separator)
549 *p++ = path[i++];
554 *p++ = path[i++];
564 /* Read the system search path the FreeBSD way rather than the Linux way. */
632 char *path;
763 if (info->path == NULL)
766 info->path = xmalloc (info->alloc);
774 info->path = xrealloc (info->path, info->alloc);
776 info->path[info->len++] = config.rpath_separator;
778 memcpy (info->path + info->len, dir, p - dir);
780 info->path[info->len] = '\0';
802 info.path = NULL;
815 if (info.path)
817 char *d = gld${EMULATION_NAME}_add_sysroot (info.path);
818 free (info.path);
1375 /* First see whether OPTARG is already in the path. */
1638 the file, without the path information used to find it. Note