summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-05 01:36:44 +0000
committerpeter <peter@FreeBSD.org>2003-12-05 01:36:44 +0000
commitb339dae7c21edaa29991d8155aea2eae2979820c (patch)
treeead4c3d249a6ae029feb046a2af69191e974848f /lib/libkse
parenta6ef4bf45a2916ba87eaefa05d9bf34139c360c2 (diff)
downloadFreeBSD-src-b339dae7c21edaa29991d8155aea2eae2979820c.zip
FreeBSD-src-b339dae7c21edaa29991d8155aea2eae2979820c.tar.gz
"Fix" makecontext() so that the C code begins execution with its
ABI-required stack alignment. C code expects that the push of the return address disturbed the 16 byte alignment and it will take corrective measures to fix it before making another call. Of course, if its wrong to start with, then all hell breaks loose. Essentially we "fix" this by making the stack alignment odd to start with. This was one of the things that broke on libkse with apps that use floating point/varargs/etc. Approved by: re (scottl)
Diffstat (limited to 'lib/libkse')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud