Subject: Re: New idea on ELF prebinding
To: Martin Husemann <martin@duskware.de>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-userlevel
Date: 11/22/2002 17:17:00
On Fri, Nov 22, 2002 at 09:03:25AM +0100, Martin Husemann wrote:
> On Fri, Nov 22, 2002 at 04:52:08PM +0900, Bang Jun-Young wrote:
>
> > - It's quite annoying that you should run prebind every time you have
> > created a binary.
>
> No, every time you installed a release binary (but we probably mean the
> same thing)
Yes, we do. ;-)
>
> > - It is often waste of space and time to distribute binary with prerelocation
> > data included, since such data won't be useful for different shared
> > objects on other person's machine.
>
> It's not usefull to pre-link objects before shipping. The prelink step should
> happen at install time (maybe entering the file into a list so it can be
> redone when shared libraries get installed)
After all, it's a matter of taste. Some people like a separate tool, but
some people like not to bother with it.
BTW, what advantages can I get from separate tool and embedded data into
binary, compared to what I'm proposing?
Jun-Young
--
Bang Jun-Young <junyoung@netbsd.org>