[PATCH] vfork patch for SH
kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Jan 13 04:59:00 GMT 2003
Jakub Jelinek <jakub@redhat.com> wrote:
>> 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.
Oh, I withdraw this patch and will come up with the revised one.
Thanks a lot.
Regards,
kaz
More information about the Libc-hacker
mailing list