Normally with these schemes you need to save and restore the module (data)
pointer appropriately for calls in and out of the library.
Each library has its own data. For the library to be used by Linux
applications you'd need to mimic the conventions expected by the Linux
programs closely. The code also needs to be position-independent (in most
of the methods I've seen).

The machines aren't well-suited for the software we now run. We spend quite
a bit of time emulating protected procedures and dynamic linkage.

On 17 July 2012 22:59, erik quanstrom <quans...@quanstro.net> wrote:

> i wonder if you could use the gs global register trick
> and a bit of runtime setup to implement this.
>
> (ducks)
>
> - erik
>
>

Reply via email to