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
1 changed files with 2 additions and 1 deletions

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