From: Rich Felker Date: Fri, 19 Oct 2012 02:01:24 +0000 (-0400) Subject: ensure microblaze __set_thread_area returns success X-Git-Tag: v0.9.7~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f485230df7a1c634fcec29d870d2566aee2031c;p=musl ensure microblaze __set_thread_area returns success since it did not set the return-value register, the caller could wrongly interpret this as failure. --- diff --git a/src/thread/microblaze/__set_thread_area.s b/src/thread/microblaze/__set_thread_area.s index 2b112ae2..21dc1e1f 100644 --- a/src/thread/microblaze/__set_thread_area.s +++ b/src/thread/microblaze/__set_thread_area.s @@ -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