glibc/ports/sysdeps/unix/sysv/linux/mips
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
..
bits Use __extension__ with long long in installed headers. 2013-01-10 20:19:45 +00:00
mips32 MIPS: Respect the legacy syscall restart convention. 2013-02-05 14:55:20 +00:00
mips64 MIPS: Respect the legacy syscall restart convention. 2013-02-05 14:55:20 +00:00
nptl Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sys Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
____longjmp_chk.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
_test_and_set.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
brk.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clone.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
configure Regenerate all configure scripts. 2012-11-01 18:04:56 +01:00
configure.in 2012-10-29 Steve Ellcey <sellcey@mips.com> 2012-10-29 11:42:39 -07:00
dl-cache.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-static.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getcontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getmsg.c Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
getsysstats.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ipc_priv.h Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
kernel_rt_sigframe.h Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
kernel_sigaction.h Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
kernel_stat.h Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
kernel_termios.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
kernel-features.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ldsodefs.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
libc-abis Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
makecontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Makefile 2012-10-29 Steve Ellcey <sellcey@mips.com> 2012-10-29 11:42:39 -07:00
pipe.S Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
pread64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
profil-counter.h Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
putmsg.c Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
pwrite64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readelflib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
register-dump.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
setcontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigaction.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
swapcontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscalls.list Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
ucontext_i.sym Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
ustat.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Versions Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
vfork.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
xstatconv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00