• 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: Inline asm error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inline asm error?


  • Subject: Re: Inline asm error?
  • From: Olivier Tristan <email@hidden>
  • Date: Tue, 07 Nov 2006 10:13:59 +0100

Alexander Klyuev wrote:
Hello everyone,

Since I updated Xcode from ver 2.3 to 2.4,
I have huge problem with inline x86 asm.

Every time I use "jmp label" instruction as follows:

__asm__
{
    Lx:
        ...
        jmp L1
}

I'm getting the following instruction after translation to AT&A format:
    ...
    jmpl    *L1

That in ones turn causes link error like this
"mycode.o has local relocations in non-writable section (__TEXT, __text)"...

Does anyone know what to do with this issue?
Why I cant use short unconditional branch since Xcode is updated to ver 2.4?
Why such a jump is interpreted as near jump with the target specified as
mem32?
Hi,

We had the same problem using xcode 2.4, but it is now fixed in xcode 2.4.1 in our case, so just in case, check that you are using the last version aka 2.4.1

Hope this helps.

Regards,

--
Olivier Tristan
Ultimate Sound Bank

_______________________________________________
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: 
 >Inline asm error? (From: "Alexander Klyuev" <email@hidden>)

  • Prev by Date: Re: Inline asm error?
  • Next by Date: Re: Re: GDB: examining the stack
  • Previous by thread: Re: Inline asm error?
  • Next by thread: Interface Builder and Custom Views.
  • Index(es):
    • Date
    • Thread