Преглед изворни кода

ensure microblaze __set_thread_area returns success

since it did not set the return-value register, the caller could
wrongly interpret this as failure.
Rich Felker пре 12 година
родитељ
комит
1f485230df
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/thread/microblaze/__set_thread_area.s

+ 2 - 1
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