Subject: dynamic linker
To: , <netbsd-help@NetBSD.org>
From: Madhvesh R S <madhvesh.s@ap.sony.com>
List: netbsd-help
Date: 02/12/2004 14:10:04
Hi,

I am referring to NetBSD-v1.6.

When the executable a.out is executed, the dynamic linker (libexec_elf)
does the relocation for unresolved symbols with shared
libraries and executes the main function. Within the
main program if i do execl("any-executable"), then the
new program execution will be started. For new executable,
whether again the dynamic linker does the relocation or is
it done as part of NetBSD kernel?

Is there any way to debug the relocation done by dynamic linker
at the beginning and as part of execl function?

Also in NetBSD, is there any tool which can debug the kernel
source similar to Linux KDB?

Thanks in advance
-MS