Subject: Re: why ld.elf_so is slow starting mozilla
To: None <>
From: Greg A. Woods <>
List: tech-toolchain
Date: 10/02/2002 17:21:02
[ On Wednesday, October 2, 2002 at 20:43:55 (GMT), Charles M. Hannum wrote: ]
> Subject: Re: why ld.elf_so is slow starting mozilla
> Part of the problem is actually the ubiquitous use of weak symbols.
> E.g., you can see at the very beginning of the trace that the search
> for dlsym() goes through the entire set of DAGs, even though it's
> defined in crt0 -- because it's defined as a weak symbol.  It would be
> helpful if we had a way to do symbol aliasing and/or self-binding
> (c.f. libc's namespace.h) without resorting to weak symbols and the
> inherent performance loss they cause.

Yes, that probably would help significantly.

Of course just calling a flag day and getting rid of all exising weak
symbols and moving on to the next round might help almost as much!  :-)

								Greg A. Woods

+1 416 218-0098;            <>;           <>
Planix, Inc. <>; VE3TCP; Secrets of the Weird <>