Changeset 10773


Ignore:
Timestamp:
Sep 16, 2008, 12:32:50 PM (11 years ago)
Author:
gb
Message:

Don't use SIGRETURN (via setcontext()) to return from a signal handler
on x8632 Linux, just fall off the end of the function. (User-space
setcontext() just uses fldenv to restore FP context, which doesn't
even restore the x87/mmx registers.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-exceptions.h

    r10766 r10773  
    162162#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    163163#define IS_MAYBE_INT_TRAP(info,xp) (((info->si_code) &0x7f) == 0)
    164 #ifdef X8664
    165164#define SIGRETURN(context)
    166 #else
    167 #define SIGRETURN(context) setcontext(context)
    168 #endif
    169165#endif
    170166
Note: See TracChangeset for help on using the changeset viewer.