tile: exit with status zero on makecontext return with NULL uc_link

This commit is contained in:
Chris Metcalf 2012-07-17 14:35:46 -04:00
parent 6df48a9b8b
commit f110915184
2 changed files with 7 additions and 1 deletions

View 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 ...

View 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