]> git.ipfire.org Git - thirdparty/grub.git/commit
* grub-core/kern/x86_64/efi/startup.S (_start): Align the stack to a
authorJosh Triplett <josh@joshtriplett.org>
Tue, 19 Nov 2013 13:31:40 +0000 (14:31 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Tue, 19 Nov 2013 13:31:40 +0000 (14:31 +0100)
commit7960d3e1823bd3ea569109dcfe269447c3589fac
tree60095d2ac136327856c9293b357068196cae1967
parentd53f4900d7a5df63614c15315d413cb1d2e7a34a
* grub-core/kern/x86_64/efi/startup.S (_start): Align the stack to a
16-byte boundary, as required by the x86-64 ABI, before calling
grub_main.  In some cases, GCC emits code that assumes this
alignment, which crashes if not aligned.  The EFI firmware is also
entitled to assume that stack alignment without checking.
ChangeLog
grub-core/kern/x86_64/efi/startup.S