Home | History | Annotate | Download | only in bfd

Lines Matching refs:hdr

46   static char hdr[EXE_PAGE_SIZE];
47 file_ptr outfile_size = sizeof(hdr);
64 file_ptr sec_end = (sizeof (hdr)
80 H_PUT_16 (abfd, EXE_MAGIC, &hdr[0]);
81 H_PUT_16 (abfd, EXE_PAGE_SIZE / 16, &hdr[8]);
82 H_PUT_16 (abfd, EXE_LOAD_LOW, &hdr[12]);
83 H_PUT_16 (abfd, 0x3e, &hdr[24]);
84 H_PUT_16 (abfd, 0x0001, &hdr[28]); /* XXX??? */
85 H_PUT_16 (abfd, 0x30fb, &hdr[30]); /* XXX??? */
86 H_PUT_16 (abfd, 0x726a, &hdr[32]); /* XXX??? */
89 H_PUT_16 (abfd, outfile_size & (EXE_PAGE_SIZE - 1), &hdr[2]);
92 H_PUT_16 (abfd, (outfile_size + EXE_PAGE_SIZE - 1) / EXE_PAGE_SIZE, &hdr[4]);
96 H_PUT_16 (abfd, high_vma, &hdr[16]);
99 || bfd_bwrite (hdr, (bfd_size_type) sizeof(hdr), abfd) != sizeof(hdr))