SWI PSR corruption

Christian Ludlam chris at recoil.org
Thu Apr 28 16:42:36 BST 2005


Hi,

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).

Of course, the -zpq command line isn't documented and is subject to change.
What's the recommended workaround?

-- 
Christian Ludlam
chris at recoil.org



More information about the oslib-user mailing list