• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: r31 not available for use in inline asm in xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

-- 
Damien Bobillot

 _______________________________________________
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

References: 
 >r31 not available for use in inline asm in xcode? (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: Debugging into Templates
  • Next by Date: Re: Developer Transition Kit: DVI-VGA adapter cable? Non-Apple monitors?
  • Previous by thread: r31 not available for use in inline asm in xcode?
  • Next by thread: Default build for 10.2
  • Index(es):
    • Date
    • Thread