Subject: Re: RelCache (aka ELF prebinding) news
To: None <tls@rek.tjls.com>
From: Havard Eidnes <he@netbsd.org>
List: tech-userlevel
Date: 12/01/2002 20:51:42
> How much of that time is spent in the MD5 checksum routine?  How much time
> would you expect to be spent in that routine on a slower processor with an
> MMU of similar efficiency?
>
> Why not use crc32 or adler32?  A cryptographic checksum is not necessary
> here and seems inappropriate given that it's quite expensive.

I don't think the computation of the checksum is done on program load by
ld.elf_so, but rather only when setting up a program for prebinding.  I
understood that the checksums are saved in the new special sections in
the executable and libraries when the prebinding is set up.  I may have
misunderstood, though.

Regards,

- Håvard