diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2013-02-05 14:41:32 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2013-02-05 14:55:20 +0000 |
commit | b82ba2f011fc4628ceece07412846d0b4d50cac2 (patch) | |
tree | 58b00169b96ca952724f0ca2e1d8c1f3969e3d17 /NEWS | |
parent | 9a0d1941d30221ed8875ebef4c080bd726740802 (diff) | |
download | glibc-b82ba2f011fc4628ceece07412846d0b4d50cac2.tar.gz glibc-b82ba2f011fc4628ceece07412846d0b4d50cac2.tar.xz glibc-b82ba2f011fc4628ceece07412846d0b4d50cac2.zip |
MIPS: Respect the legacy syscall restart convention.
That convention requires the instruction immediately preceding SYSCALL to initialize $v0 with the syscall number. Then if a restart triggers, $v0 will have been clobbered by the syscall interrupted, and needs to be reinititalized. The kernel will decrement the PC by 4 before switching back to the user mode so that $v0 has been reloaded before SYSCALL is executed again. This implies the place $v0 is loaded from must be preserved across a syscall, e.g. an immediate, static register, stack slot, etc. The restriction was lifted with Linux 2.6.36 kernel release and no special requirements are placed around the SYSCALL instruction anymore, however we still support older kernel binaries.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS index b5c465d51f..d6798a488c 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,7 @@ Version 2.18 * The following bugs are resolved with this release: 13951, 14142, 14200, 14317, 14327, 14496, 14964, 14981, 14982, 14985, - 14994, 14996, 15003, 15020, 15023, 15036, 15062. + 14994, 14996, 15003, 15020, 15023, 15036, 15054, 15062. Version 2.17 |