diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-04-02 14:13:20 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-04-16 02:46:04 -0400 |
commit | d636714704aede6f662c593d3d2d94e8a126b645 (patch) | |
tree | e6582c562bd1caf53efa2612df50c5de8eedf861 /src/math/expl.c | |
parent | f96f47d05991f823fbee9812e7630a83b929a88a (diff) | |
download | musl-d636714704aede6f662c593d3d2d94e8a126b645.tar.gz musl-d636714704aede6f662c593d3d2d94e8a126b645.tar.xz musl-d636714704aede6f662c593d3d2d94e8a126b645.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. (cherry picked from commit 91d5aa06572d2660122f9a06ed242fef0383f292)
Diffstat (limited to 'src/math/expl.c')
0 files changed, 0 insertions, 0 deletions