https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61666
Ed Swierk <eswierk at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Ed Swierk <eswierk at gmail dot com> ---
The root cause of the problem appears to be the Linux kernel's emulation of
MIPS floating-point branch instructions. To emulate an FP branch instruction
correctly, it copies the next instruction (the branch delay slot) to a
temporary frame on the user stack and executes it there. But if the user stack
is marked non-executable, this causes a segv.
http://www.linux-mips.org/archives/linux-mips/2014-07/msg00032.html