Searched refs:e_hdr (Results 1 – 1 of 1) sorted by relevance
52 struct extra_hdr e_hdr; in write_header() local90 c_hdr.optional_hdr_sz = sizeof(o_hdr) + sizeof(e_hdr); in write_header()100 memset(&e_hdr, 0, sizeof(e_hdr)); in write_header()101 e_hdr.section_align = 4096; in write_header()102 e_hdr.file_align = 512; in write_header()103 e_hdr.image_sz = hdr_sz + so_memsz; in write_header()104 e_hdr.headers_sz = hdr_sz; in write_header()105 e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION; in write_header()106 e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t); in write_header()107 fwrite(&e_hdr, sizeof(e_hdr), 1, f); in write_header()