[PATCH] vfork patch for SH
Jakub Jelinek
jakub@redhat.com
Mon Jan 13 04:59:00 GMT 2003
On Sat, Jan 11, 2003 at 08:30:30PM +0900, kaz Kojima wrote:
> Hi,
>
> The attached is the vfork fix of SH and adding correct syscall error
> handling for non-PIC case which was forgotten in the previous patch.
>
> Regards,
> kaz
> --
> 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
>
> * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
> Add non-PIC case.
> * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Handle
> SINGLE_THREAD_P case.
sysdeps/unix/sysv/linux/sh/vfork.S should be unconditional vfork,
only linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S should call
__fork after pthread_create has been called.
When NPTL will be supported on SH or when compiling without thread support,
you want vfork to be always vfork.
Jakub
More information about the Libc-hacker
mailing list