diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-04-02 14:13:20 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-04-02 14:13:20 -0400 |
commit | 91d5aa06572d2660122f9a06ed242fef0383f292 (patch) | |
tree | 9149f4c55959571f3bb87eff4d38230875f79828 /src/signal/powerpc | |
parent | 2b74315d8a31ad8fbcd369116c82e055e0ec3fb7 (diff) | |
download | musl-91d5aa06572d2660122f9a06ed242fef0383f292.tar.gz musl-91d5aa06572d2660122f9a06ed242fef0383f292.tar.xz musl-91d5aa06572d2660122f9a06ed242fef0383f292.zip |
fix microblaze syscall register clobbers
the kernel entry point for syscalls on microblaze nominally saves and restores all registers, and testing on qemu always worked since qemu behaves this way too. however, the real kernel treats r3:r4 as a potential 64-bit return value from the syscall function, and copies both over top of the saved registers before returning to userspace. thus, we need to treat r4 as always-clobbered.
Diffstat (limited to 'src/signal/powerpc')
0 files changed, 0 insertions, 0 deletions