Using OSLib in relocatable modules

Simon Callan simon at callan.demon.co.uk
Fri Apr 6 22:43:52 BST 2001


In message <644a22674a.fn952389 at dynamic-047-063.resnet.cranfield.ac.uk>
          David Bryan <D.J.Bryan at cranfield.ac.uk> wrote:

> Simon Callan wrote:
> 
> > As far as I am aware, there is no RM version of OSLib, and I was
> > wondering what is likely to be the best solution to this.
> 
> The veneers for X SWIs work in SVC mode.

I wasn't really thinking of SVC mode, as the stuff I am playing with
is going in the runnable bit, and so will be run in USR mode.

As it's a module, the static data has to be relocatable at run-time
which means all data access is register relative. Presumably, if OSLib
does not have any static data, this would make no difference.

Simon

-- 
http://www.callan.demon.co.uk/simon/




More information about the oslib-user mailing list