Option to use library static data offset

John Tytgat John.Tytgat at aaug.net
Tue Feb 21 14:41:06 PST 2006


In message <4df95d1042gdshaw at sagitta.demon.co.uk>
          Graham Shaw <gdshaw at sagitta.demon.co.uk> wrote:

> In article <a93144f94d.Jo at hobbes.bass-software.com>,
>    John Tytgat <John.Tytgat at aaug.net> wrote:
> > In message <Sdf8ed33e8gdshaw at sagitta.demon.co.uk>
> >           Graham Shaw <gdshaw at sagitta.demon.co.uk> wrote:
> 
> > > A patch to allow this is attached.  It adds two options:
> > > 
> > > -mlibrary-static-data-offset
> > > -mclient-static-data-offset
> > > 
> > > with the latter as the default.
> 
> > Could you enlighten us a bit more what the usecase(s) could be ?
> 
> You use the client offset when your code is part of an SCL client module,
> and the library offset when it is part of the SCL.

Right.  I've applied your patch (and added some documentation as well).
Looking forward what you're planning to do with it ;-)

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list