Re: Prebinding for DragonFly/FreeBSD-4

2003-09-14 Thread Simon 'corecode' Schubert
Lately Matthew N. Dodd told: > Prebinding on a per executable basis rather than a per "object" (ELF > executable or library) means that when you go to prebind KDE (for > example) you run /var out of diskspace :/ Yes, that might be true. How about this approach: (doesn't cope with cyclic ``needs''

Re: Prebinding for DragonFly/FreeBSD-4

2003-09-12 Thread Matthew N. Dodd
On Sat, 13 Sep 2003, Simon 'corecode' Schubert wrote: > Feedback appreciated :) Prebinding on a per executable basis rather than a per "object" (ELF executable or library) means that when you go to prebind KDE (for example) you run /var out of diskspace :/ I don't yet have a totally satisfactory

Re: Prebinding for DragonFly/FreeBSD-4

2003-09-12 Thread Simon 'corecode' Schubert
No-brainer. Get the patch from here: http://chlamydia.fs.ei.tum.de/~corecode/prebind.diff -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News pgp0.pgp Description: PGP signature

Prebinding for DragonFly/FreeBSD-4

2003-09-12 Thread Simon 'corecode' Schubert
I created patch for DragonFly/FreeBSD-4 for prebinding, based on mdodd@'s patch for FreeBSD-5. The main difference (apart from the target platform) is that the linker needn't be patched. Rtld now uses a hash function to get an unique ID for every ELF object. This has been tested under DragonFly,