summaryrefslogtreecommitdiff
path: root/src/stdio/__stdio_close.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-04-02 14:13:20 -0400
committerRich Felker <dalias@aerifal.cx>2014-04-16 02:46:04 -0400
commitd636714704aede6f662c593d3d2d94e8a126b645 (patch)
treee6582c562bd1caf53efa2612df50c5de8eedf861 /src/stdio/__stdio_close.c
parentf96f47d05991f823fbee9812e7630a83b929a88a (diff)
downloadmusl-d636714704aede6f662c593d3d2d94e8a126b645.tar.gz
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. (cherry picked from commit 91d5aa06572d2660122f9a06ed242fef0383f292)
Diffstat (limited to 'src/stdio/__stdio_close.c')
0 files changed, 0 insertions, 0 deletions