2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
+ * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
+ zero value for regular exit case.
+
* sysdeps/unix/sysv/linux/x86_64/__start_context.S
(__start_context): Preserve zero value for regular exit case.
cfi_restore (pr)
/* If this returns (which can happen if the syscall fails) we'll exit
the program with the return error value (-1). */
+ mov r0, r4
2:
mov.l .Lexit, r1
add r12, r1
#endif
jsr @r1
- mov r0, r4
+ nop
/* The 'exit' call should never return. In case it does cause the
process to terminate. */
ABORT_INSTRUCTION_ASM