diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-10 22:43:22 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-10 22:43:22 -0400 |
commit | b94067eeae894b5a26170cebc378261f83ad00cb (patch) | |
tree | 33d1536ced6a1eef7f3d49658128db782ed489fc /src/unistd/setpgid.c | |
parent | 2bf469310de6793228c103691859ed4d3158b117 (diff) | |
download | musl-b94067eeae894b5a26170cebc378261f83ad00cb.tar.gz musl-b94067eeae894b5a26170cebc378261f83ad00cb.tar.xz musl-b94067eeae894b5a26170cebc378261f83ad00cb.zip |
eliminate assumption that mips syscall restart preserves r25
all past and current kernel versions have done so, but there seems to be no reason it's necessary and the sentiment from everyone I've asked has been that we should not rely on it. instead, use r7 (an argument register) which will necessarily be preserved upon syscall restart. however this only works for 0-3 argument syscalls, and we have to resort to the function call for 4-argument syscalls.
Diffstat (limited to 'src/unistd/setpgid.c')
0 files changed, 0 insertions, 0 deletions