home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unix!monod.biol.mcgill.ca!henry
- From: henry@monod.biol.mcgill.ca (Henry A. Pasternack)
- Newsgroups: comp.unix.questions
- Subject: How to load and execute incrementally-linked modules?
- Message-ID: <43117@unix.SRI.COM>
- Date: 26 Jan 93 19:35:28 GMT
- Sender: news@unix.SRI.COM
- Reply-To: henry@monod.biol.mcgill.ca (Henry A. Pasternack)
- Organization: CAE Electronics
- Lines: 12
-
-
- I'm running a large, modular system under SGI Unix. I'd like to add
- a feature that allows me to "unlink" a module on the fly and "link" in
- a replacement module that contains special debugging commands -- all
- without stopping the main program execution. I have read about the
- '-A' incremental linking option of 'ld'. What I'm wondering is how I
- load the incrementally linked object module into the executing program.
- Presumably, I need to inform the kernel tthat I plan to increase the
- size of the process before I read in the new segments. Can someone
- fill me in on a practical approach to this problem? Thanks.
-
- -Henry
-