Lines Matching refs:pe_opthdr
630 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr;
639 idata2 = pe->pe_opthdr.DataDirectory[PE_IMPORT_TABLE];
640 idata5 = pe->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE];
641 tls = pe->pe_opthdr.DataDirectory[PE_TLS_TABLE];
956 - pe_data (abfd)->pe_opthdr.ImageBase)
1283 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr;
1618 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr;
2505 rva_bias = section->vma - pe->pe_opthdr.ImageBase;
2592 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr;
2708 struct internal_extra_pe_aouthdr *i = &pe->pe_opthdr;
2909 /* pe_opthdr is copied in copy_object. */
2914 ope->pe_opthdr.Subsystem = IMAGE_SUBSYSTEM_UNKNOWN;
2920 pe_data (obfd)->pe_opthdr.DataDirectory[PE_BASE_RELOCATION_TABLE].VirtualAddress = 0;
2921 pe_data (obfd)->pe_opthdr.DataDirectory[PE_BASE_RELOCATION_TABLE].Size = 0;
2932 if (ope->pe_opthdr.DataDirectory[PE_DEBUG_DATA].Size != 0)
2934 bfd_vma addr = ope->pe_opthdr.DataDirectory[PE_DEBUG_DATA].VirtualAddress
2935 + ope->pe_opthdr.ImageBase;
2945 for (i = 0; i < ope->pe_opthdr.DataDirectory[PE_DEBUG_DATA].Size
2957 ddsection = find_section_by_vma (obfd, idd.AddressOfRawData + ope->pe_opthdr.ImageBase);
2962 + ope->pe_opthdr.ImageBase) - ddsection->vma;
4102 rva_bias = sec->vma - pe->pe_opthdr.ImageBase;
4189 rva_bias = sec->vma - pe->pe_opthdr.ImageBase;
4259 write_data.rva_bias = sec->vma - pe->pe_opthdr.ImageBase;
4272 page_size = pe_data (abfd)->pe_opthdr.FileAlignment;
4323 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_TABLE].VirtualAddress =
4342 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_TABLE].Size =
4346 - pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_TABLE].VirtualAddress);
4364 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].VirtualAddress =
4383 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].Size =
4387 - pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].VirtualAddress);
4421 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].Size =
4426 if (pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].Size != 0)
4427 pe_data (abfd)->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE].VirtualAddress =
4428 iat_va - pe_data (abfd)->pe_opthdr.ImageBase;
4450 pe_data (abfd)->pe_opthdr.DataDirectory[PE_TLS_TABLE].VirtualAddress =
4454 - pe_data (abfd)->pe_opthdr.ImageBase);
4467 pe_data (abfd)->pe_opthdr.DataDirectory[PE_TLS_TABLE].Size = 0x18;
4469 pe_data (abfd)->pe_opthdr.DataDirectory[PE_TLS_TABLE].Size = 0x28;