SWI PSR corruption
Stewart Brodie
stewart at metahusky.net
Thu Apr 28 22:58:17 BST 2005
Christian Ludlam <chris at recoil.org> wrote:
> On 28 Apr Stewart Brodie wrote:
>
> > Christian Ludlam <chris at recoil.org> wrote:
> >
> > > When you build an application targeting 32 bit OSs, it seems you MUST
> > > use the -zpq512 compiler switch to tell the compiler that inline SWI
> > > calls corrupt the PSR (why this isn't the default I don't know).
> >
> > I thought that was the one that stopped multiple calls to malloc being
> > optimised away, no?
>
> Hmm, my reference was
>
<http://www.chiark.greenend.org.uk/~theom/riscos/docs/low/norcroft-qpragmas.txt>
>
OK - i was thinking of -zpq32.
--
Stewart Brodie
More information about the oslib-user
mailing list