From 1f485230df7a1c634fcec29d870d2566aee2031c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 18 Oct 2012 22:01:24 -0400 Subject: ensure microblaze __set_thread_area returns success since it did not set the return-value register, the caller could wrongly interpret this as failure. --- src/thread/microblaze/__set_thread_area.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/thread') 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 -- cgit v1.2.3-70-g09d2