]> sourceware.org Git - glibc.git/commitdiff
tile: exit with status zero on makecontext return with NULL uc_link
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 17 Jul 2012 18:35:46 +0000 (14:35 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 17 Jul 2012 18:40:48 +0000 (14:40 -0400)
ports/ChangeLog.tile
ports/sysdeps/unix/sysv/linux/tile/setcontext.S

index bd5e067cf471cf5b0e7502ca8165af576e012d03..2335171c77420400b363ef590c1b6df0e671dad8 100644 (file)
@@ -1,5 +1,8 @@
 2012-07-17  Chris Metcalf  <cmetcalf@tilera.com>
 
+       * sysdeps/unix/sysv/linux/tile/setcontext.S: Ensure exit status is
+       zero if uc_link is NULL.
+
        * sysdeps/tile/libm-test-ulps: Account for new tests.
 
        * data/c++-types-tilepro-linux-gnu.data: Move to ...
index f95ad7ccaa9f44777a201e31a21d9a13df93c3b8..587097e90ebb3801f3fb71658e7f3375a7ff4cbb 100644 (file)
@@ -196,6 +196,9 @@ ENTRY (__startcontext)
         move r0, r30
         jal __setcontext
        }
-1:     j HIDDEN_JUMPTARGET(exit)
+1:     {
+        movei r0, 0
+        j HIDDEN_JUMPTARGET(exit)
+       }
 END (__startcontext)
 .hidden __startcontext
This page took 0.045576 seconds and 5 git commands to generate.