Loading object files to running program

Jussi Eloranta eloranta at tukki.jyu.fi
Sat Dec 23 07:46:19 AEST 1989


Hi,

Couple of questions:

1) Is it possible to load executable code (one that is linked with ld 
option -A; at least with BSD systems) to running program and execute it?
(I think it is, since KCL is probably doing something like this)

2) Could someone send me a simple example how to do this (on a BSD system;
actually SUNOS 4.0.1).

Nroff also does this kind of stuff with device driver tables, but in this
case it's only data...


jussi
-- 
============================================================================
Jussi Eloranta               Internet(/Bitnet):
University of Jyvaskyla,     eloranta at tukki.jyu.fi
Finland                      [128.214.7.5]



More information about the Comp.unix.wizards mailing list