Lines Matching refs:archive
4 Archive support from Damon A. Permezel.
205 /* Information about one member of an archive. */
207 /* The archive member that this structure describes. */
215 /* The offset of MEMBER from the start of the archive (i.e. the end
239 /* A structure used for iterating over the members of an archive. */
241 /* The archive itself. */
242 bfd *archive;
244 /* Information about the current archive member. */
247 /* Information about the next archive member. MEMBER is null if there
248 are no more archive members, in which case OFFSET is the offset of
253 /* Initialize INFO so that it describes member MEMBER of archive ARCHIVE.
258 member_layout_init (struct member_layout *info, bfd *archive,
268 if (xcoff_big_format_p (archive))
286 /* Set up ITERATOR to iterate through archive ARCHIVE. */
290 bfd *archive)
292 iterator->archive = archive;
293 member_layout_init (&iterator->next, archive, archive->archive_head,
294 xcoff_big_format_p (archive)
299 /* Make ITERATOR visit the first unvisited archive member. Return true
309 member_layout_init (&iterator->next, iterator->archive,
1163 /* XCOFF archive support. The original version of this code was by
1165 writing archive files, by Ian Lance Taylor, Cygnus Support.
1167 XCOFF uses its own archive format. Everything is hooked together
1169 archive in place. Of course, we don't do that. An XCOFF archive
1171 the file header and of each archive header appear below.
1173 An XCOFF archive also has a member table, which is a list of
1174 elements in the archive (you can get that by looking through the
1176 member table has a normal archive header with an empty name. It is
1178 archive. The member table data is almost printable ASCII. It
1181 string which is the offset in the archive of that member. These
1185 Finally, an XCOFF archive has a global symbol table, which is what
1186 we call the armap. The global symbol table has a normal archive
1188 the last entry in the archive. The contents start with a four byte
1191 entry in the archive. These numbers are followed by a series of
1194 AIX 4.3 introduced a new archive format which can handle larger
1195 files and also 32- and 64-bit objects in the same archive. The
1208 /* Set the magic for archive. */
1219 /* Read in the armap of an XCOFF archive. */
1253 /* The symbol table starts with a normal archive header. */
1308 /* The symbol table starts with a normal archive header. */
1372 /* See if this is an XCOFF archive. */
1478 /* Read the archive header in an XCOFF archive. */
1566 /* Open the next element in an XCOFF archive. */
1569 _bfd_xcoff_openr_next_archived_file (bfd *archive, bfd *last_file)
1573 if (xcoff_ardata (archive) == NULL)
1579 if (! xcoff_big_format_p (archive))
1582 filestart = bfd_ardata (archive)->first_file_filepos;
1588 || filestart == strtol (xcoff_ardata (archive)->memoff,
1590 archive)->symoff,
1600 filestart = bfd_ardata (archive)->first_file_filepos;
1612 || filestart == strtol (xcoff_ardata_big (archive)->memoff,
1614 || filestart == strtol (xcoff_ardata_big (archive)->symoff,
1622 return _bfd_get_elt_at_filepos (archive, filestart);
1625 /* Stat an element in an XCOFF archive. */
1660 /* Normalize a file name for inclusion in an archive. */
1875 standard big archive header
2070 /* Write out an XCOFF archive. We always write an entire archive,
2264 /* Write out the archive file header. */
2407 standard big archive header
2514 /* Write out the archive file header. */
4000 /* For archive entry points. */