Lines Matching refs:filehdr_in
818 struct internal_filehdr *filehdr_in = (struct internal_filehdr *) in;
823 filehdr_in->f_flags &= ~F_RELFLG;
826 filehdr_in->f_flags |= F_DLL;
828 filehdr_in->pe.e_magic = DOSMAGIC;
829 filehdr_in->pe.e_cblp = 0x90;
830 filehdr_in->pe.e_cp = 0x3;
831 filehdr_in->pe.e_crlc = 0x0;
832 filehdr_in->pe.e_cparhdr = 0x4;
833 filehdr_in->pe.e_minalloc = 0x0;
834 filehdr_in->pe.e_maxalloc = 0xffff;
835 filehdr_in->pe.e_ss = 0x0;
836 filehdr_in->pe.e_sp = 0xb8;
837 filehdr_in->pe.e_csum = 0x0;
838 filehdr_in->pe.e_ip = 0x0;
839 filehdr_in->pe.e_cs = 0x0;
840 filehdr_in->pe.e_lfarlc = 0x40;
841 filehdr_in->pe.e_ovno = 0x0;
844 filehdr_in->pe.e_res[idx] = 0x0;
846 filehdr_in->pe.e_oemid = 0x0;
847 filehdr_in->pe.e_oeminfo = 0x0;
850 filehdr_in->pe.e_res2[idx] = 0x0;
852 filehdr_in->pe.e_lfanew = 0x80;
856 filehdr_in->pe.dos_message[0] = 0x0eba1f0e;
857 filehdr_in->pe.dos_message[1] = 0xcd09b400;
858 filehdr_in->pe.dos_message[2] = 0x4c01b821;
859 filehdr_in->pe.dos_message[3] = 0x685421cd;
860 filehdr_in->pe.dos_message[4] = 0x70207369;
861 filehdr_in->pe.dos_message[5] = 0x72676f72;
862 filehdr_in->pe.dos_message[6] = 0x63206d61;
863 filehdr_in->pe.dos_message[7] = 0x6f6e6e61;
864 filehdr_in->pe.dos_message[8] = 0x65622074;
865 filehdr_in->pe.dos_message[9] = 0x6e757220;
866 filehdr_in->pe.dos_message[10] = 0x206e6920;
867 filehdr_in->pe.dos_message[11] = 0x20534f44;
868 filehdr_in->pe.dos_message[12] = 0x65646f6d;
869 filehdr_in->pe.dos_message[13] = 0x0a0d0d2e;
870 filehdr_in->pe.dos_message[14] = 0x24;
871 filehdr_in->pe.dos_message[15] = 0x0;
872 filehdr_in->pe.nt_signature = NT_SIGNATURE;
874 H_PUT_16 (abfd, filehdr_in->f_magic, filehdr_out->f_magic);
875 H_PUT_16 (abfd, filehdr_in->f_nscns, filehdr_out->f_nscns);
881 PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr,
883 H_PUT_32 (abfd, filehdr_in->f_nsyms, filehdr_out->f_nsyms);
884 H_PUT_16 (abfd, filehdr_in->f_opthdr, filehdr_out->f_opthdr);
885 H_PUT_16 (abfd, filehdr_in->f_flags, filehdr_out->f_flags);
890 H_PUT_16 (abfd, filehdr_in->pe.e_magic, filehdr_out->e_magic);
891 H_PUT_16 (abfd, filehdr_in->pe.e_cblp, filehdr_out->e_cblp);
892 H_PUT_16 (abfd, filehdr_in->pe.e_cp, filehdr_out->e_cp);
893 H_PUT_16 (abfd, filehdr_in->pe.e_crlc, filehdr_out->e_crlc);
894 H_PUT_16 (abfd, filehdr_in->pe.e_cparhdr, filehdr_out->e_cparhdr);
895 H_PUT_16 (abfd, filehdr_in->pe.e_minalloc, filehdr_out->e_minalloc);
896 H_PUT_16 (abfd, filehdr_in->pe.e_maxalloc, filehdr_out->e_maxalloc);
897 H_PUT_16 (abfd, filehdr_in->pe.e_ss, filehdr_out->e_ss);
898 H_PUT_16 (abfd, filehdr_in->pe.e_sp, filehdr_out->e_sp);
899 H_PUT_16 (abfd, filehdr_in->pe.e_csum, filehdr_out->e_csum);
900 H_PUT_16 (abfd, filehdr_in->pe.e_ip, filehdr_out->e_ip);
901 H_PUT_16 (abfd, filehdr_in->pe.e_cs, filehdr_out->e_cs);
902 H_PUT_16 (abfd, filehdr_in->pe.e_lfarlc, filehdr_out->e_lfarlc);
903 H_PUT_16 (abfd, filehdr_in->pe.e_ovno, filehdr_out->e_ovno);
906 H_PUT_16 (abfd, filehdr_in->pe.e_res[idx], filehdr_out->e_res[idx]);
908 H_PUT_16 (abfd, filehdr_in->pe.e_oemid, filehdr_out->e_oemid);
909 H_PUT_16 (abfd, filehdr_in->pe.e_oeminfo, filehdr_out->e_oeminfo);
912 H_PUT_16 (abfd, filehdr_in->pe.e_res2[idx], filehdr_out->e_res2[idx]);
914 H_PUT_32 (abfd, filehdr_in->pe.e_lfanew, filehdr_out->e_lfanew);
917 H_PUT_32 (abfd, filehdr_in->pe.dos_message[idx],
921 H_PUT_32 (abfd, filehdr_in->pe.nt_signature, filehdr_out->nt_signature);
929 struct internal_filehdr *filehdr_in = (struct internal_filehdr *) in;
932 H_PUT_16 (abfd, filehdr_in->f_magic, filehdr_out->f_magic);
933 H_PUT_16 (abfd, filehdr_in->f_nscns, filehdr_out->f_nscns);
934 H_PUT_32 (abfd, filehdr_in->f_timdat, filehdr_out->f_timdat);
935 PUT_FILEHDR_SYMPTR (abfd, filehdr_in->f_symptr, filehdr_out->f_symptr);
936 H_PUT_32 (abfd, filehdr_in->f_nsyms, filehdr_out->f_nsyms);
937 H_PUT_16 (abfd, filehdr_in->f_opthdr, filehdr_out->f_opthdr);
938 H_PUT_16 (abfd, filehdr_in->f_flags, filehdr_out->f_flags);