Lines Matching defs:path
47 * The "path" argument is a pathname that is used only for error messages.
53 map_object(int fd, const char *path, const struct stat *sb)
93 hdr = get_elf_header(fd, path, sb);
126 path, nsegs);
161 _rtld_error("%s: error mapping PT_NOTE (%d)", path, errno);
176 _rtld_error("%s: object is not dynamically-linked", path);
181 _rtld_error("%s: too few PT_LOAD segments", path);
200 path, rtld_strerror(errno));
205 path, base_addr, mapbase);
219 _rtld_error("%s: mmap of data failed: %s", path,
236 _rtld_error("%s: mprotect failed: %s", path,
255 _rtld_error("%s: mmap of bss failed: %s", path,
289 _rtld_error("%s: cannot allocate program header", path);
326 get_elf_header(int fd, const char *path, const struct stat *sbp)
332 _rtld_error("%s: invalid file format", path);
339 _rtld_error("%s: read error: %s", path, rtld_strerror(errno));
345 _rtld_error("%s: invalid file format", path);
350 _rtld_error("%s: unsupported file layout", path);
355 _rtld_error("%s: unsupported file version", path);
359 _rtld_error("%s: unsupported file type", path);
363 _rtld_error("%s: unsupported machine", path);
374 "%s: invalid shared object: e_phentsize != sizeof(Elf_Phdr)", path);
379 _rtld_error("%s: program header too large", path);
424 if (obj->path)
425 free(obj->path);