Subject: dynamic linker
To: None <netbsd-users@netbsd.org>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: netbsd-users
Date: 03/19/2002 19:23:46
i tested how long does it take to execute program that does nothing
main() {}

it's 16ms normally and 8ms when using static link

8ms is anyway million CPU cycles on my machine (pentium-133).
what incredibly complicated operations ld-elf.so is doing to link such
simple programs (containing minimal set of references to libs) to do it so
long?

----------------------------------------------------------------------
USE PGP!  http://www.3miasto.net/~wojtek/pgp.txt
I live in Poland not USA so i can protect my privacy.