diff options
author | Willy Tarreau <[email protected]> | 2021-10-24 19:28:15 +0200 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-11-30 17:26:42 -0800 |
commit | ebbe0d8a449d183fa43b42d84fcb248e25303985 (patch) | |
tree | 5ca7fe5659f80a4f97f274e6e34d282e068a5ba6 /scripts/bpf_doc.py | |
parent | 937ed91c712273131de6d2a02caafd3ee84e0c72 (diff) |
tools/nolibc: i386: fix initial stack alignment
After re-checking in the spec and comparing stack offsets with glibc,
The last pushed argument must be 16-byte aligned (i.e. aligned before the
call) so that in the callee esp+4 is multiple of 16, so the principle is
the 32-bit equivalent to what Ammar fixed for x86_64. It's possible that
32-bit code using SSE2 or MMX could have been affected. In addition the
frame pointer ought to be zero at the deepest level.
Link: https://gitlab.com/x86-psABIs/i386-ABI/-/wikis/Intel386-psABI
Cc: Ammar Faizi <[email protected]>
Cc: [email protected]
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions