On Thu, 10 Jul, at 12:26:20PM, Michael Brown wrote: > The PE/COFF headers currently describe only the initialised-data > portions of the image, and result in no space being allocated for the > uninitialised-data portions. Consequently, the EFI boot stub will end > up overwriting unexpected areas of memory, with unpredictable results. > > Fix by including a .bss section in the PE/COFF headers (functionally > equivalent to the init_size field in the bzImage header). > > Signed-off-by: Michael Brown <mbrown@xxxxxxxxxxxxxxxx> > --- > arch/x86/boot/header.S | 26 ++++++++++++++++++++++---- > arch/x86/boot/tools/build.c | 38 ++++++++++++++++++++++++++++++-------- > 2 files changed, 52 insertions(+), 12 deletions(-) Thanks Michael, applied. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html