From: Michael Brown Date: Thu, 10 Jul 2014 11:26:20 +0000 (+0100) Subject: x86/efi: Include a .bss section within the PE/COFF headers X-Git-Tag: omap-for-v3.17/fixes-against-rc2~268^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fb93ec51d462ec3540a729ba446663c26a0505;p=pandora-kernel.git x86/efi: Include a .bss section within the PE/COFF headers 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 Cc: Thomas Bächler Cc: Josh Boyer Cc: Signed-off-by: Matt Fleming --- Reading git-diff-tree failed