Lines Matching refs:fhdr
1822 struct xcoff_ar_file_hdr_big *fhdr; in xcoff_write_armap_big() local
1861 fhdr = xcoff_ardata_big (abfd); in xcoff_write_armap_big()
1864 READ20 (fhdr->memoff, prevoff); in xcoff_write_armap_big()
1865 READ20 (fhdr->symoff, nextoff); in xcoff_write_armap_big()
1973 PRINT20 (fhdr->symoff, 0); in xcoff_write_armap_big()
2049 PRINT20 (fhdr->symoff64, nextoff); in xcoff_write_armap_big()
2052 PRINT20 (fhdr->symoff64, 0); in xcoff_write_armap_big()
2074 struct xcoff_ar_file_hdr fhdr; in xcoff_write_archive_contents_old() local
2088 memset (&fhdr, 0, sizeof fhdr); in xcoff_write_archive_contents_old()
2089 (void) strncpy (fhdr.magic, XCOFFARMAG, SXCOFFARMAG); in xcoff_write_archive_contents_old()
2090 sprintf (fhdr.firstmemoff, "%d", SIZEOF_AR_FILE_HDR); in xcoff_write_archive_contents_old()
2091 sprintf (fhdr.freeoff, "%d", 0); in xcoff_write_archive_contents_old()
2180 sprintf (fhdr.lastmemoff, "%ld", (long) prevoff); in xcoff_write_archive_contents_old()
2186 sprintf (fhdr.memoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2251 sprintf (fhdr.symoff, "%d", 0); in xcoff_write_archive_contents_old()
2255 sprintf (fhdr.symoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2256 bfd_ardata (abfd)->tdata = &fhdr; in xcoff_write_archive_contents_old()
2264 for (p = (char *) &fhdr; p < (char *) &fhdr + SIZEOF_AR_FILE_HDR; p++) in xcoff_write_archive_contents_old()
2269 || (bfd_bwrite (&fhdr, (bfd_size_type) SIZEOF_AR_FILE_HDR, abfd) in xcoff_write_archive_contents_old()
2279 struct xcoff_ar_file_hdr_big fhdr; in xcoff_write_archive_contents_big() local
2294 memset (&fhdr, 0, SIZEOF_AR_FILE_HDR_BIG); in xcoff_write_archive_contents_big()
2295 memcpy (fhdr.magic, XCOFFARMAGBIG, SXCOFFARMAG); in xcoff_write_archive_contents_big()
2397 PRINT20 (fhdr.firstmemoff, offsets[0]); in xcoff_write_archive_contents_big()
2398 PRINT20 (fhdr.lastmemoff, prevoff); in xcoff_write_archive_contents_big()
2490 PRINT20 (fhdr.memoff, nextoff); in xcoff_write_archive_contents_big()
2498 PRINT20 (fhdr.symoff, 0); in xcoff_write_archive_contents_big()
2504 PRINT20 (fhdr.symoff, nextoff); in xcoff_write_archive_contents_big()
2506 bfd_ardata (abfd)->tdata = &fhdr; in xcoff_write_archive_contents_big()
2514 || (bfd_bwrite (&fhdr, (bfd_size_type) SIZEOF_AR_FILE_HDR_BIG, in xcoff_write_archive_contents_big()