Lines Matching refs:fhdr
1794 struct xcoff_ar_file_hdr_big *fhdr; in xcoff_write_armap_big() local
1833 fhdr = xcoff_ardata_big (abfd); in xcoff_write_armap_big()
1836 READ20 (fhdr->memoff, prevoff); in xcoff_write_armap_big()
1837 READ20 (fhdr->symoff, nextoff); in xcoff_write_armap_big()
1945 PRINT20 (fhdr->symoff, 0); in xcoff_write_armap_big()
2021 PRINT20 (fhdr->symoff64, nextoff); in xcoff_write_armap_big()
2024 PRINT20 (fhdr->symoff64, 0); in xcoff_write_armap_big()
2046 struct xcoff_ar_file_hdr fhdr; in xcoff_write_archive_contents_old() local
2060 memset (&fhdr, 0, sizeof fhdr); in xcoff_write_archive_contents_old()
2061 (void) strncpy (fhdr.magic, XCOFFARMAG, SXCOFFARMAG); in xcoff_write_archive_contents_old()
2062 sprintf (fhdr.firstmemoff, "%d", SIZEOF_AR_FILE_HDR); in xcoff_write_archive_contents_old()
2063 sprintf (fhdr.freeoff, "%d", 0); in xcoff_write_archive_contents_old()
2152 sprintf (fhdr.lastmemoff, "%ld", (long) prevoff); in xcoff_write_archive_contents_old()
2158 sprintf (fhdr.memoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2223 sprintf (fhdr.symoff, "%d", 0); in xcoff_write_archive_contents_old()
2227 sprintf (fhdr.symoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2228 bfd_ardata (abfd)->tdata = &fhdr; in xcoff_write_archive_contents_old()
2236 for (p = (char *) &fhdr; p < (char *) &fhdr + SIZEOF_AR_FILE_HDR; p++) in xcoff_write_archive_contents_old()
2241 || (bfd_bwrite (&fhdr, (bfd_size_type) SIZEOF_AR_FILE_HDR, abfd) in xcoff_write_archive_contents_old()
2251 struct xcoff_ar_file_hdr_big fhdr; in xcoff_write_archive_contents_big() local
2266 memset (&fhdr, 0, SIZEOF_AR_FILE_HDR_BIG); in xcoff_write_archive_contents_big()
2267 memcpy (fhdr.magic, XCOFFARMAGBIG, SXCOFFARMAG); in xcoff_write_archive_contents_big()
2369 PRINT20 (fhdr.firstmemoff, offsets[0]); in xcoff_write_archive_contents_big()
2370 PRINT20 (fhdr.lastmemoff, prevoff); in xcoff_write_archive_contents_big()
2462 PRINT20 (fhdr.memoff, nextoff); in xcoff_write_archive_contents_big()
2470 PRINT20 (fhdr.symoff, 0); in xcoff_write_archive_contents_big()
2476 PRINT20 (fhdr.symoff, nextoff); in xcoff_write_archive_contents_big()
2478 bfd_ardata (abfd)->tdata = &fhdr; in xcoff_write_archive_contents_big()
2486 || (bfd_bwrite (&fhdr, (bfd_size_type) SIZEOF_AR_FILE_HDR_BIG, in xcoff_write_archive_contents_big()