Actually,
A5 for applications, A4 for shared libraries. Thanks to Ken for making
this great article on Palm OS Shared-library Globals available via the
web:
http://www.cdpubs.com/hhsys/archives/65/09krugle.pdf
HTH,
Thomas
Metrowerks Technical Support
Christopher Hunt wrote:
>
> Greg Winton wrote:
>
> > Attention Shared Library Gurus!
> >
> > We are porting a library that uses globals and statics extensively. We are
> > hoping use A5-relative addressing to enable this. Somehow, though, the
> > compiler is generating A4-relative addressing. We are using CodeWarrior
> > R4, how do we specify A5-relative addressing? Any other gotcha's we should
> > know about?
>
> Sounds interesting. I'm pretty sure that the MW CW R5 compiler uses A5
> addressing.
>
> --
> Christopher Hunt
> Class Action Pty. Ltd.
>
> Are you a time zone traveler that owns a Palm(tm) connected organizer?
> Check out http://www.classactionpl.com/TimeTraveler/index.htm