> dynamically linked program in linux? Alternatively, are dynamically
> linked libraries always going to be in the same place?

once upon a time maybe.. with all these prelink and random patches
floating about it really depends on what kernel you are running..

>
> It would be convenient for my current project if there was some way
> to specify where in VM the dynamic libraries ended up.

If you have to do I would be forced to question why? you can always just
parse the maps file ... maybe you only think that you have to ...

> Along the same line, is there a way to control the location of stack and heap?

again depends on kernel, some kernels have patches to randomise stacks for
things...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to