summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/gen/signalcontext.c
Commit message (Collapse)AuthorAgeFilesLines
* Set fpu context flags to known values, zero is illegal.davidxu2004-07-281-0/+2
|
* Avoid to touch red zone, in libpthread, ucontext may be saved by kernel'sdavidxu2004-06-151-1/+1
| | | | | | | get_mcontext, and libpthread will use signalcontext to deliver signal in userland, it looks same as kernel's send_sig does. Reviewed by: deischen, tjr
* Fix Yet Another 16 byte stack alignment bug. Thankfully, this one ispeter2004-03-311-7/+7
| | | | | | | | | | | solved by a simple 'make world'. The signalcontext function was going to the trouble of generating an even 16 byte alignment, but in fact it needed to be odd aligned to simulate the 8-byte return address having been pushed by the caller. This fixes yet another group of crashes in applications using libpthread. And yet again, it was my fault all along. While here, rename the duplicate internal ctx_wrapper() functions to makectx_wrapper() and sigctx_wrapper() so that traces aren't ambiguous.
* Set mc_len to sizeof(mcontext_t), otherwise it is an invalid context.davidxu2003-07-261-0/+1
|
* Add amd64 versions of makecontext() and signalcontext() neededdeischen2003-07-191-0/+103
for libkse (makecontext() is also needed for libthr). These probably will need some tweaking.
OpenPOWER on IntegriCloud