projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64251d8
)
ensure microblaze __set_thread_area returns success
author
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Oct 2012 02:01:24 +0000
(22:01 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Oct 2012 02:01:24 +0000
(22:01 -0400)
since it did not set the return-value register, the caller could
wrongly interpret this as failure.
src/thread/microblaze/__set_thread_area.s
patch
|
blob
|
history
diff --git
a/src/thread/microblaze/__set_thread_area.s
b/src/thread/microblaze/__set_thread_area.s
index 2b112ae22ab362e43f3ea6e46965c6f086d63800..21dc1e1fd579d052bbc42b8f0c1229cdf16afc47 100644
(file)
--- 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