Subject: Re: why ld.elf_so is slow starting mozilla
To: None <tech-toolchain@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-toolchain
Date: 10/02/2002 17:49:20
[ On Wednesday, October 2, 2002 at 22:05:35 (+0100), David Laight wrote: ]
> Subject: Re: why ld.elf_so is slow starting mozilla
>
> I used to build a shared library by compiling it as one big piece.
> That way it was possible to get all the internal references to be
> to local symbols and fixed up by PC relative calls by the compiler.
> Setting it up for libc would be a little tedious though.

Hmmm!  Statically linked shared libraries!

IIRC you just add some kernel hooks to pre-load them and hitch them to
other processes and you pretty much have SysVr3 shared libraries!  :-)

Except for really small programs they really are faster and less memory
intensive all at the same time!  What a concept!  ;-)

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>