Re: r31 not available for use in inline asm in xcode?
Re: r31 not available for use in inline asm in xcode?
- Subject: Re: r31 not available for use in inline asm in xcode?
- From: Damien Bobillot <email@hidden>
- Date: Wed, 3 Aug 2005 14:43:01 +0200
Le 3 août 05 à 02:42, Ando Sonenblick a écrit : We're porting our code from CodeWarrioir to Xcode and are encountering errors when we use r31 (error: PIC register 'r31' clobbered in 'asm')
The r31 register seems to be used by gcc for all access to global data (global variables, objective-C class objects, objective-C selectors...). Gcc mark this register as already used and don't allow you to use it.
However I don't remember gcc 3 use this method to acces global data, so using gcc 3.3 instead of gcc 4.0, may solve your problem. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden