• 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: CodeWarrior-style inline assembly help...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CodeWarrior-style inline assembly help...


  • Subject: Re: CodeWarrior-style inline assembly help...
  • From: Brad Oliver <email@hidden>
  • Date: Thu, 4 Aug 2005 14:58:31 -0700

On Aug 4, 2005, at 2:38 PM, email@hidden wrote:

None of these look like errors.  Here are the three lines
corresponding to the above errors:

398:   lwz      r3,-4(SP)
502:   lwz      r4, s_ulWork
1781:  vspltish vreg_vMaskFirst, 1

In your original e-mail, it was pretty clear that your assembly was CFM-based, since you were using the TOC to reference globals. This obviously won't fly for Mach-O, which will use PIC-based offsets (or not, if you have that turned off).


I suspect you've got a similar problem here. It's not clear to me what s_ulWork and vreg_vMaskFirst are, but you likely need to change your code to accommodate Mach-O's use of globals.

--
Brad Oliver
email@hidden

_______________________________________________
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


  • Prev by Date: Re: Code Sense Feature Request
  • Next by Date: Re: Subversion database corruption
  • Previous by thread: Re: CodeWarrior-style inline assembly help...
  • Next by thread: __attribute__ ((destructor)) functions vs static global variables
  • Index(es):
    • Date
    • Thread