Subject: Re: ELF prebinding round 3: new method
To: Andrew Gillham <gillham@vaultron.com>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-userlevel
Date: 09/27/2002 15:56:52
It's available at

ftp://ftp.netbsd.org/pub/NetBSD/misc/junyoung/prebind-20020927.tar.gz

Here's a quick summary on how to use prebind:

Before you do anything with prebind, you MUST install new ld.elf_so
first. However, modifications made into the original ld.elf_so are
very small and shouldn't affect loading of unmodified shared objects. 

'prebind' takes a number of options, most noticibly '-f':

$ prebind -f libc.so.12.88 (isn't that quite simple? ;-)

Optional -v switch increases verbosity level. If you want the maximum
level, try -vv. However, don't ever use -b option; it has some problems
for now. 

Finally, don't forget to make a backup copy of a shared object you
apply to 'prebind'; it overwrites input files without asking to you!

Jun-Young

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