Lines Matching defs:archive

222 /* Information about one member of an archive.  */
225 /* The archive member that this structure describes. */
233 /* The offset of MEMBER from the start of the archive (i.e. the end
257 /* A structure used for iterating over the members of an archive. */
260 /* The archive itself. */
261 bfd *archive;
263 /* Information about the current archive member. */
266 /* Information about the next archive member. MEMBER is null if there
267 are no more archive members, in which case OFFSET is the offset of
272 /* Initialize INFO so that it describes member MEMBER of archive ARCHIVE.
277 member_layout_init (struct member_layout *info, bfd *archive,
287 if (xcoff_big_format_p (archive))
305 /* Set up ITERATOR to iterate through archive ARCHIVE. */
309 bfd *archive)
311 iterator->archive = archive;
312 member_layout_init (&iterator->next, archive, archive->archive_head,
313 xcoff_big_format_p (archive)
318 /* Make ITERATOR visit the first unvisited archive member. Return true
328 member_layout_init (&iterator->next, iterator->archive,
1252 /* XCOFF archive support. The original version of this code was by
1254 writing archive files, by Ian Lance Taylor, Cygnus Support.
1256 XCOFF uses its own archive format. Everything is hooked together
1258 archive in place. Of course, we don't do that. An XCOFF archive
1260 the file header and of each archive header appear below.
1262 An XCOFF archive also has a member table, which is a list of
1263 elements in the archive (you can get that by looking through the
1265 member table has a normal archive header with an empty name. It is
1267 archive. The member table data is almost printable ASCII. It
1270 string which is the offset in the archive of that member. These
1274 Finally, an XCOFF archive has a global symbol table, which is what
1275 we call the armap. The global symbol table has a normal archive
1277 the last entry in the archive. The contents start with a four byte
1280 entry in the archive. These numbers are followed by a series of
1283 AIX 4.3 introduced a new archive format which can handle larger
1284 files and also 32- and 64-bit objects in the same archive. The
1295 the ASCII fields in the archive headers. So in order to be able to extract
1324 /* Macro to read an ASCII value stored in an archive header field. */
1339 /* Read in the armap of an XCOFF archive. */
1373 /* The symbol table starts with a normal archive header. */
1435 /* The symbol table starts with a normal archive header. */
1503 /* See if this is an XCOFF archive. */
1609 /* Read the archive header in an XCOFF archive. */
1688 /* Open the next element in an XCOFF archive. */
1691 _bfd_xcoff_openr_next_archived_file (bfd *archive, bfd *last_file)
1696 if (xcoff_ardata (archive) == NULL)
1702 if (! xcoff_big_format_p (archive))
1706 filestart = bfd_ardata (archive)->first_file_filepos;
1728 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata (archive)->memoff, 10)
1729 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata (archive)->symoff, 10))
1739 filestart = bfd_ardata (archive)->first_file_filepos;
1761 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata_big (archive)->memoff, 10)
1762 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata_big (archive)->symoff, 10))
1769 return _bfd_get_elt_at_filepos (archive, filestart, NULL);
1772 /* Stat an element in an XCOFF archive. */
1807 /* Normalize a file name for inclusion in an archive. */
2022 standard big archive header
2217 /* Write out an XCOFF archive. We always write an entire archive,
2430 /* Write out the archive file header. */
2589 standard big archive header
2696 /* Write out the archive file header. */
4405 /* For archive entry points. */