Dan Sugalski wrote:

> 
> Don't forget the fixup work that needs to be done afterwards. Loading the
> library into memory's only the first part--after that the loader needs to
> twiddle with transfer vectors and such so the unresolved calls into the
> routines in the newly loaded library get resolved.
> 
>                                         Dan


This is what I was talking about when I suggested the language maintain
a big list of all the addresses of each function, and after the function
gets loaded or compiled it is added to the big list, and after this stage
the placeholder in the op can be replaced with a longjump.

Since the shared segments live at different addresses in different
processes (or should I have stayed awake through that lecture)


And there you go, a JIT.


-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]

Reply via email to