about summary refs log tree commit diff
path: root/ports/sysdeps/unix/sysv/linux/tile/setcontext.S
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/tile/setcontext.S')
-rw-r--r--ports/sysdeps/unix/sysv/linux/tile/setcontext.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/tile/setcontext.S b/ports/sysdeps/unix/sysv/linux/tile/setcontext.S
index f95ad7ccaa..587097e90e 100644
--- a/ports/sysdeps/unix/sysv/linux/tile/setcontext.S
+++ b/ports/sysdeps/unix/sysv/linux/tile/setcontext.S
@@ -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