diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-03-09 00:42:42 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-16 15:23:19 +0100 |
commit | bf3091bae688606f9cbd69064bf6deeeddb81d1b (patch) | |
tree | 85c197cdfb74cc12097d1d8377f934b866905c92 /util/optionlist | |
parent | 824416078e2a9d3d38290e4f2efd1809efbcc747 (diff) |
binaryPI: Fix SSE regression and align stack early
When allowing use of SSE instructions, stack must be
aligned to 16 bytes. Adjust x86 entry to C accordingly,
by pushing values to maintain the alignment.
For some builds, new toolchain and GCC-6.3 could emit
SSE instruction 'andps (%esp),%xmm0' with incorrectly
aligned esp, raising exception and thus preventing boot.
Change-Id: I452d40eadac2b743d0d8431809c9a81bf28c330a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18691
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins)
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'util/optionlist')
0 files changed, 0 insertions, 0 deletions