Subject: Re: New ld.elf_so from FreeBSD
To: Charles Hannum <>
From: Bang Jun-Young <>
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.,
> 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. ;-)


Bang Jun-Young <>