glibc/ports/sysdeps
Maciej W. Rozycki b82ba2f011 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.
2013-02-05 14:55:20 +00:00
..
aarch64 AArch64: Adding optimized strncmp implementation. 2013-01-24 14:33:12 +00:00
alpha Fix copyright notice corruption from update-copyright bug. 2013-01-02 19:28:45 +00:00
am33 Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
arm Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hppa Use __extension__ with long long in installed headers. 2013-01-10 20:19:45 +00:00
ia64 Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr. 2013-02-04 16:29:39 +00:00
m68k Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr. 2013-02-04 16:29:39 +00:00
mips 2013-01-25 Steve Ellcey <sellcey@mips.com> 2013-01-25 16:11:40 -08:00
powerpc Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tile Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unix MIPS: Respect the legacy syscall restart convention. 2013-02-05 14:55:20 +00:00