summaryrefslogtreecommitdiff
path: root/arch/mips64/syscall_arch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-03-11 18:50:21 -0400
committerRich Felker <dalias@aerifal.cx>2020-03-14 21:22:50 -0400
commit972b5fde9a2d1b5517c15803fb437195e6663085 (patch)
tree9ac85d013ecaf30c7802d6a4cbbb043bcdeb7571 /arch/mips64/syscall_arch.h
parent5053fd2644c188ac6531e5fe6a52a1a6d0df2fc2 (diff)
downloadmusl-972b5fde9a2d1b5517c15803fb437195e6663085.tar.gz
revert mips (32-bit, o32) syscall asm clean-up due to regressions
exactly revert commit 604f8d3d8b08ee4f548de193050ef93a7753c2e0 which was wrong; it caused a major regression on Linux versions prior to 2.6.36. old kernels did not properly preserve r2 across syscall restart, and instead restarted with the instruction right before syscall, imposing a contract that the previous instruction must load r2 from an immediate or a register (or memory) not clobbered by the syscall.
Diffstat (limited to 'arch/mips64/syscall_arch.h')
0 files changed, 0 insertions, 0 deletions