This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] vfork patch for SH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]