Subject: Re: New ld.elf_so from FreeBSD
To: Charles Hannum <abuse@spamalicious.com>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-toolchain
Date: 09/05/2002 12:16:30
On Thu, Sep 05, 2002 at 02:24:36AM +0000, Charles Hannum wrote:
> 
> This is a note that I plan to import FreeBSD's ld.elf_so.  Among other
> things, their code has major performance wins over ours
> (c.f. http://www.freebsd.org/cgi/cvsweb.cgi/src/libexec/rtld-elf/rtld.c?rev=1.52&content-type=text/x-cvsweb-markup),
> and fixed at least one serious bug over ours (c.f. occasional
> `undefined PLT symbol' problems on Alpha).
> 
> In short:
> 
> * C++ code (and thus GNOME, KDE, mozilla, etc.) starts up much faster.

Some people complained to me that mozilla starts up too slowly. This
is a very good news to them.

> 
> * 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.
> 
> The disadvantage is that some platform support will have to be moved
> over.  Basically, the mdreloc.c implementation has a few API changes.
> They are very straightforward.
> 
> Unless someone ponies up to make similar improvements to our
> ld.elf_so, I will import the FreeBSD version on September 9, and do
> the support for a handful of platforms (specifically, x86, Alpha and
> PowerPC).  People responsible for other platforms should deal.

It's fortunate that I haven't modified the current ld.elf_so for
prebinding support. :-) Please go ahead. If you does it before Sep 9,
I will also appreciate it. ;-)

Jun-Young

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