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

Inline asm error?


  • Subject: Inline asm error?
  • From: "Alexander Klyuev" <email@hidden>
  • Date: Tue, 7 Nov 2006 12:00:34 +0300
  • Organization: MusicLab, Inc.

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?

Thank you.
Alexander.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Inline asm error?
      • From: Olivier Tristan <email@hidden>
    • Re: Inline asm error?
      • From: Sebastien Metrot <email@hidden>
  • Prev by Date: Re: GDB: Timed out fetching data
  • Next by Date: Re: Inline asm error?
  • Previous by thread: RE: After 2.4.1 Update error Messages
  • Next by thread: Re: Inline asm error?
  • Index(es):
    • Date
    • Thread