1
0
mirror of git://git.musl-libc.org/musl synced 2024-12-18 04:34:50 +00:00

ensure microblaze __set_thread_area returns success

since it did not set the return-value register, the caller could
wrongly interpret this as failure.
This commit is contained in:
Rich Felker 2012-10-18 22:01:24 -04:00
parent 64251d8bbd
commit 1f485230df

View File

@ -1,5 +1,6 @@
.global __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
rtsd r15, 8
ori r21, r5, 0
rtsd r15, 8
ori r3, r0, 0