summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mbrown@fensystems.co.uk>2014-07-10 12:26:20 +0100
committerJiri Slaby <jslaby@suse.cz>2014-07-30 18:02:44 +0200
commit9e6e90fce2c4cdd721229855a32e4c266e323ff3 (patch)
tree21d31a5d8e5114fea1c4c6d9fa02f0d5261ea97e /Makefile
parent5c8c5c98c79c08f34f28dd24e5dc385cbc6bf148 (diff)
downloadlinux-rt-9e6e90fce2c4cdd721229855a32e4c266e323ff3.tar.gz
x86/efi: Include a .bss section within the PE/COFF headers
commit c7fb93ec51d462ec3540a729ba446663c26a0505 upstream. 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@fensystems.co.uk> Cc: Thomas Bächler <thomas@archlinux.org> Cc: Josh Boyer <jwboyer@fedoraproject.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions