]> git.hungrycats.org Git - linux/commit
efi: Build EFI stub with EFI-appropriate options
authorMatthew Garrett <mjg@redhat.com>
Thu, 26 Jul 2012 22:00:00 +0000 (18:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:47:22 +0000 (05:47 +0900)
commit377306525f4bc80ab01a416f90f79dc111f04566
tree84bf2f30a7be1f1a89a586656a5c42d81839d60b
parentc12eaa49fccd767c91cdca4e21dff9a100c039fa
efi: Build EFI stub with EFI-appropriate options

commit 9dead5bbb825d7c25c0400e61de83075046322d0 upstream.

We can't assume the presence of the red zone while we're still in a boot
services environment, so we should build with -fno-red-zone to avoid
problems. Change the size of wchar at the same time to make string handling
simpler.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Acked-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/boot/compressed/Makefile