]> git.ipfire.org Git - thirdparty/grub.git/commit
* grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 04:40:32 +0000 (05:40 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 04:40:32 +0000 (05:40 +0100)
commit4e42521d8c9232b6ee9eac7d8b4945a7479de781
tree138a6a1baee1709d1e82cf007cb698e3e3b5c3dd
parent054efe541fcbf486999f7d7ee9fb8639ab12e740
* grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
Previously we misaligned stack by 8 in startup.S and compensated
for it in callwrap.S. According to ABI docs (EFI and sysv amd64)
right behaviour is to align stack in startup.S and keep it aligned
in callwrap.S. startup.S part was committed few commits before. This
takes care of callwrap.S.
Reported by: Gary Lin.
ChangeLog
grub-core/kern/x86_64/efi/callwrap.S