about summary refs log tree commit diff
path: root/src/thread/mips/__unmapself.s
Commit message (Collapse)AuthorAgeFilesLines
* work around mips detached thread exit breakage due to kernel regressionRich Felker2015-06-201-0/+1
| | | | | | | | | linux kernel commit 46e12c07b3b9603c60fc1d421ff18618241cb081 caused the mips syscall mechanism to fail with EFAULT when the userspace stack pointer is invalid, breaking __unmapself used for detached thread exit. the workaround is to set $sp to a known-valid, readable address, and the simplest one to obtain is the address of the current function, which is available (per o32 calling convention) in $25.
* first attempt at making threads work on mipsRich Felker2012-07-111-0/+9