about summary refs log tree commit diff
path: root/src/malloc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-04-02 14:13:20 -0400
committerRich Felker <dalias@aerifal.cx>2014-04-02 14:13:20 -0400
commit91d5aa06572d2660122f9a06ed242fef0383f292 (patch)
tree9149f4c55959571f3bb87eff4d38230875f79828 /src/malloc
parent2b74315d8a31ad8fbcd369116c82e055e0ec3fb7 (diff)
downloadmusl-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/malloc')
0 files changed, 0 insertions, 0 deletions