diff --git a/src/p_vmlinx.cpp b/src/p_vmlinx.cpp index 470ed653..fdd2320c 100644 --- a/src/p_vmlinx.cpp +++ b/src/p_vmlinx.cpp @@ -743,10 +743,9 @@ void PackVmlinuxARM::pack(OutputFile *fo) ibuf.alloc(file_size); obuf.allocForCompression(file_size); - // .e_ident, .e_machine, .e_version + // .e_ident, .e_machine, .e_version, .e_flags memcpy(&ehdro, &ehdri, sizeof(ehdro)); ehdro.e_type = Elf32_Ehdr::ET_REL; - ehdro.e_flags = 0; ehdro.e_entry = 0; ehdro.e_phoff = 0; ehdro.e_shoff = sizeof(ehdro); // later