[PATCH] Fix bug with popen/pthread_create

Jakub Jelinek jakub@redhat.com
Fri Feb 7 08:25:00 GMT 2003


On Fri, Feb 07, 2003 at 07:24:55AM +0100, Andreas Jaeger wrote:
> Richard Henderson <rth@twiddle.net> writes:
> 
> > On Thu, Feb 06, 2003 at 09:08:31PM +0100, Jakub Jelinek wrote:
> >> +	.weak	__pthread_fork
> >> +	movl	$__pthread_fork, %eax
> >> +	testq	%rax, %rax
> >
> > Not movq?
> 
> I agree - and would then use also %rax:
> 
> movq $__pthread_fork, %rax

Isn't whole libc.a compiled in -mcmodel=small anyway?

	Jakub



More information about the Libc-hacker mailing list