Subject: Re: New ld.elf_so from FreeBSD
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-toolchain
Date: 09/05/2002 19:45:37
On Thu, Sep 05, 2002 at 10:49:14AM +0200, Jaromir Dolecek wrote:
> Charles Hannum wrote:
> > * C++ code (and thus GNOME, KDE, mozilla, etc.) starts up much faster.
> > 
> > * The Alpha platform attains reasonable performance, where right now
> >   things like the XF86 4 server are basically unusable.
> > 
> > * The occasional `undefined PLT symbol' problems (on Alpha) are gone.
> > 
> > * Multi-threading support (i.e. r/w locking for dl*() calls) is added.
> 
> Very cool, all these are very important.
> 
> But please make the migration a bit less painful - such as keeping
> the old ld.elf_so as around (as, say, libexec/old.ld.elf_so),
> and keep using it for platforms which wouldn't be supported by the new
> ld_elf.so initially.

After I had a look at FreeBSD rtld code...

The problem is that FreeBSD rtld code is now quite different from our
ld.elf_so, although they were very similar long time ago. To reduce
pain of modifying it so that it has support for other platforms not
in the FreeBSD rtld, I'd like to propose to import only necessary 
features into our ld.elf_so, not rtld itself. I think I can do at
least "SymCache" C++ optimization part myself until the end of this
week. 

Jun-Young

-- 
Bang Jun-Young <junyoung@mogua.com>