Lines Matching defs:archive
60 * A plain ELF object will start with an ELF header, whereas an archive
62 * ELF file or archive will contain more bytes than this buffer, so any
162 * Examine the first object in an archive to determine its ELFCLASS
176 archive(int fd, Elf *elf, uchar_t *class_ret, Half *mach_ret)
184 * Process each item within the archive until we find the first
185 * ELF object, or alternatively another archive to recurse into.
194 found = archive(fd, _elf, class_ret, mach_ret);
237 * - From the first object contained within the first archive
267 * and the first archive contains a mix of 32 and 64-bit
268 * objects, and the first object in that archive is 64-bit.
277 * entirely from archives, and the first archive contains
279 * in that archive is 32-bit.
289 * or when linking entirely from an archive containing
291 * in the archive is not for the desired target.
349 * objects to operate on. At the same time, look for the first archive
351 * of the first ELF object in the first archive will be used. If
352 * there is no object, and no archive, then we fall back to a 32-bit
391 * an archive, we use libelf on it and accept the cost.
446 archive(fd, elf, &ar_class, &ar_mach);
456 * from the first archive, and failing that, default to 32-bit.
468 * use the machine established by the first archive, and failing that,