Subject: Re: RelCache (aka ELF prebinding) news
To: Martin Husemann <martin@duskware.de>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-userlevel
Date: 12/04/2002 21:43:43
On Wed, Dec 04, 2002 at 01:32:21PM +0100, Martin Husemann wrote:
> On Wed, Dec 04, 2002 at 09:15:00PM +0900, Bang Jun-Young wrote:
> 
> > It's called "conflict" and should be resolved
> > by the dynamic linker at relocation time.
> 
> So the problem is detecting those conflicts dynamically at prebind time?
> Sounds easy.
> 
>  - if some new external symbol makes one of our (we == the prebound shared
>    library) a conflict, we don't care. The prebound value is available for
>    load-time conflict resolution.

With RelCache all conflicts are already resolved, so there's no need
to maintain conflicts list like Red Hat prelink.

> 
>  - if one library that we bind against changed (which could make the set of
>    conflicts change) we have to ignore our prebind information and fall
>    back to full dynamic loading anyway.

Right.

Jun-Young

-- 
Bang Jun-Young <junyoung@netbsd.org>