Lines Matching refs:pe
469 struct internal_extra_pe_aouthdr *a = &aouthdr_int->pe; in _bfd_XXi_swap_aouthdr_in()
628 pe_data_type *pe = pe_data (abfd); in _bfd_XXi_swap_aouthdr_out() local
629 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr; in _bfd_XXi_swap_aouthdr_out()
638 idata2 = pe->pe_opthdr.DataDirectory[PE_IMPORT_TABLE]; in _bfd_XXi_swap_aouthdr_out()
639 idata5 = pe->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE]; in _bfd_XXi_swap_aouthdr_out()
640 tls = pe->pe_opthdr.DataDirectory[PE_TLS_TABLE]; in _bfd_XXi_swap_aouthdr_out()
701 if (pe->has_reloc_section) in _bfd_XXi_swap_aouthdr_out()
827 filehdr_in->pe.e_magic = DOSMAGIC; in _bfd_XXi_only_swap_filehdr_out()
828 filehdr_in->pe.e_cblp = 0x90; in _bfd_XXi_only_swap_filehdr_out()
829 filehdr_in->pe.e_cp = 0x3; in _bfd_XXi_only_swap_filehdr_out()
830 filehdr_in->pe.e_crlc = 0x0; in _bfd_XXi_only_swap_filehdr_out()
831 filehdr_in->pe.e_cparhdr = 0x4; in _bfd_XXi_only_swap_filehdr_out()
832 filehdr_in->pe.e_minalloc = 0x0; in _bfd_XXi_only_swap_filehdr_out()
833 filehdr_in->pe.e_maxalloc = 0xffff; in _bfd_XXi_only_swap_filehdr_out()
834 filehdr_in->pe.e_ss = 0x0; in _bfd_XXi_only_swap_filehdr_out()
835 filehdr_in->pe.e_sp = 0xb8; in _bfd_XXi_only_swap_filehdr_out()
836 filehdr_in->pe.e_csum = 0x0; in _bfd_XXi_only_swap_filehdr_out()
837 filehdr_in->pe.e_ip = 0x0; in _bfd_XXi_only_swap_filehdr_out()
838 filehdr_in->pe.e_cs = 0x0; in _bfd_XXi_only_swap_filehdr_out()
839 filehdr_in->pe.e_lfarlc = 0x40; in _bfd_XXi_only_swap_filehdr_out()
840 filehdr_in->pe.e_ovno = 0x0; in _bfd_XXi_only_swap_filehdr_out()
843 filehdr_in->pe.e_res[idx] = 0x0; in _bfd_XXi_only_swap_filehdr_out()
845 filehdr_in->pe.e_oemid = 0x0; in _bfd_XXi_only_swap_filehdr_out()
846 filehdr_in->pe.e_oeminfo = 0x0; in _bfd_XXi_only_swap_filehdr_out()
849 filehdr_in->pe.e_res2[idx] = 0x0; in _bfd_XXi_only_swap_filehdr_out()
851 filehdr_in->pe.e_lfanew = 0x80; in _bfd_XXi_only_swap_filehdr_out()
855 filehdr_in->pe.dos_message[0] = 0x0eba1f0e; in _bfd_XXi_only_swap_filehdr_out()
856 filehdr_in->pe.dos_message[1] = 0xcd09b400; in _bfd_XXi_only_swap_filehdr_out()
857 filehdr_in->pe.dos_message[2] = 0x4c01b821; in _bfd_XXi_only_swap_filehdr_out()
858 filehdr_in->pe.dos_message[3] = 0x685421cd; in _bfd_XXi_only_swap_filehdr_out()
859 filehdr_in->pe.dos_message[4] = 0x70207369; in _bfd_XXi_only_swap_filehdr_out()
860 filehdr_in->pe.dos_message[5] = 0x72676f72; in _bfd_XXi_only_swap_filehdr_out()
861 filehdr_in->pe.dos_message[6] = 0x63206d61; in _bfd_XXi_only_swap_filehdr_out()
862 filehdr_in->pe.dos_message[7] = 0x6f6e6e61; in _bfd_XXi_only_swap_filehdr_out()
863 filehdr_in->pe.dos_message[8] = 0x65622074; in _bfd_XXi_only_swap_filehdr_out()
864 filehdr_in->pe.dos_message[9] = 0x6e757220; in _bfd_XXi_only_swap_filehdr_out()
865 filehdr_in->pe.dos_message[10] = 0x206e6920; in _bfd_XXi_only_swap_filehdr_out()
866 filehdr_in->pe.dos_message[11] = 0x20534f44; in _bfd_XXi_only_swap_filehdr_out()
867 filehdr_in->pe.dos_message[12] = 0x65646f6d; in _bfd_XXi_only_swap_filehdr_out()
868 filehdr_in->pe.dos_message[13] = 0x0a0d0d2e; in _bfd_XXi_only_swap_filehdr_out()
869 filehdr_in->pe.dos_message[14] = 0x24; in _bfd_XXi_only_swap_filehdr_out()
870 filehdr_in->pe.dos_message[15] = 0x0; in _bfd_XXi_only_swap_filehdr_out()
871 filehdr_in->pe.nt_signature = NT_SIGNATURE; in _bfd_XXi_only_swap_filehdr_out()
889 H_PUT_16 (abfd, filehdr_in->pe.e_magic, filehdr_out->e_magic); in _bfd_XXi_only_swap_filehdr_out()
890 H_PUT_16 (abfd, filehdr_in->pe.e_cblp, filehdr_out->e_cblp); in _bfd_XXi_only_swap_filehdr_out()
891 H_PUT_16 (abfd, filehdr_in->pe.e_cp, filehdr_out->e_cp); in _bfd_XXi_only_swap_filehdr_out()
892 H_PUT_16 (abfd, filehdr_in->pe.e_crlc, filehdr_out->e_crlc); in _bfd_XXi_only_swap_filehdr_out()
893 H_PUT_16 (abfd, filehdr_in->pe.e_cparhdr, filehdr_out->e_cparhdr); in _bfd_XXi_only_swap_filehdr_out()
894 H_PUT_16 (abfd, filehdr_in->pe.e_minalloc, filehdr_out->e_minalloc); in _bfd_XXi_only_swap_filehdr_out()
895 H_PUT_16 (abfd, filehdr_in->pe.e_maxalloc, filehdr_out->e_maxalloc); in _bfd_XXi_only_swap_filehdr_out()
896 H_PUT_16 (abfd, filehdr_in->pe.e_ss, filehdr_out->e_ss); in _bfd_XXi_only_swap_filehdr_out()
897 H_PUT_16 (abfd, filehdr_in->pe.e_sp, filehdr_out->e_sp); in _bfd_XXi_only_swap_filehdr_out()
898 H_PUT_16 (abfd, filehdr_in->pe.e_csum, filehdr_out->e_csum); in _bfd_XXi_only_swap_filehdr_out()
899 H_PUT_16 (abfd, filehdr_in->pe.e_ip, filehdr_out->e_ip); in _bfd_XXi_only_swap_filehdr_out()
900 H_PUT_16 (abfd, filehdr_in->pe.e_cs, filehdr_out->e_cs); in _bfd_XXi_only_swap_filehdr_out()
901 H_PUT_16 (abfd, filehdr_in->pe.e_lfarlc, filehdr_out->e_lfarlc); in _bfd_XXi_only_swap_filehdr_out()
902 H_PUT_16 (abfd, filehdr_in->pe.e_ovno, filehdr_out->e_ovno); in _bfd_XXi_only_swap_filehdr_out()
905 H_PUT_16 (abfd, filehdr_in->pe.e_res[idx], filehdr_out->e_res[idx]); in _bfd_XXi_only_swap_filehdr_out()
907 H_PUT_16 (abfd, filehdr_in->pe.e_oemid, filehdr_out->e_oemid); in _bfd_XXi_only_swap_filehdr_out()
908 H_PUT_16 (abfd, filehdr_in->pe.e_oeminfo, filehdr_out->e_oeminfo); in _bfd_XXi_only_swap_filehdr_out()
911 H_PUT_16 (abfd, filehdr_in->pe.e_res2[idx], filehdr_out->e_res2[idx]); in _bfd_XXi_only_swap_filehdr_out()
913 H_PUT_32 (abfd, filehdr_in->pe.e_lfanew, filehdr_out->e_lfanew); in _bfd_XXi_only_swap_filehdr_out()
916 H_PUT_32 (abfd, filehdr_in->pe.dos_message[idx], in _bfd_XXi_only_swap_filehdr_out()
920 H_PUT_32 (abfd, filehdr_in->pe.nt_signature, filehdr_out->nt_signature); in _bfd_XXi_only_swap_filehdr_out()
1267 pe_data_type *pe = pe_data (abfd); in pe_print_idata() local
1268 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr; in pe_print_idata()
1602 pe_data_type *pe = pe_data (abfd); in pe_print_edata() local
1603 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr; in pe_print_edata()
2467 pe_data_type * pe; in rsrc_print_section() local
2474 pe = pe_data (abfd); in rsrc_print_section()
2475 if (pe == NULL) in rsrc_print_section()
2488 rva_bias = section->vma - pe->pe_opthdr.ImageBase; in rsrc_print_section()
2574 pe_data_type *pe = pe_data (abfd); in pe_print_debugdata() local
2575 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr; in pe_print_debugdata()
2690 pe_data_type *pe = pe_data (abfd); in _bfd_XX_print_private_bfd_data_common() local
2691 struct internal_extra_pe_aouthdr *i = &pe->pe_opthdr; in _bfd_XX_print_private_bfd_data_common()
2698 fprintf (file, _("\nCharacteristics 0x%x\n"), pe->real_flags); in _bfd_XX_print_private_bfd_data_common()
2700 #define PF(x, y) if (pe->real_flags & x) { fprintf (file, "\t%s\n", y); } in _bfd_XX_print_private_bfd_data_common()
2716 time_t t = pe->coff.timestamp; in _bfd_XX_print_private_bfd_data_common()
4058 pe_data_type * pe; in rsrc_process_section() local
4080 pe = pe_data (abfd); in rsrc_process_section()
4081 if (pe == NULL) in rsrc_process_section()
4084 rva_bias = sec->vma - pe->pe_opthdr.ImageBase; in rsrc_process_section()
4171 rva_bias = sec->vma - pe->pe_opthdr.ImageBase; in rsrc_process_section()
4241 write_data.rva_bias = sec->vma - pe->pe_opthdr.ImageBase; in rsrc_process_section()