[PATCH] Fix vfork with --enable-add-ons=linuxthreads

Richard Henderson rth@twiddle.net
Mon Jan 13 04:59:00 GMT 2003


On Thu, Jan 09, 2003 at 02:10:10PM +0100, Jakub Jelinek wrote:
> +	bne	t0, HIDDEN_JUMPTARGET (__fork) !samegp
> +	lda	v0, SYS_ify(vfork)
> +	call_pal PAL_callsys
> +	bne	a3, __syscall_error !samegp

This will only work in a shared library context.  Will this
ever get put into a non-pic archive?


r~



More information about the Libc-hacker mailing list