comib,=,n 0, %ret0, .LthreadStart
bv,n %r0(%rp)
+.LerrorSanity:
+ /* Sanity checks failed, set errno to EINVAL. */
+ ldi -EINVAL, %ret0
+
.LerrorRest:
/* Something bad happened -- no child created -- need a frame */
ldo 64(%sp),%sp
bv %r0(%rp)
ldo -64(%sp), %sp
-.LerrorSanity:
- /* Sanity checks failed, return -1, and set errno to EINVAL. */
- b .LerrorRest
- ldi -EINVAL, %ret0
-
.LthreadStart:
/* Load up the arguments. */
ldw -60(%sp), %arg0
ldi __NR_exit, %r20
/* We should not return from exit.
- We do not restore r4, or the stack state. */
+ We do not restore the stack state. */
iitlbp %r0, (%sr0, %r0)
PSEUDO_END(__clone)