[PATCH] Fix bug with popen/pthread_create

Andreas Jaeger aj@suse.de
Fri Feb 7 09:23:00 GMT 2003


Jakub Jelinek <jakub@redhat.com> writes:

> 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?

It is - but we should not restrain us there - but does this fragment
run only in static libs?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list