• 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: Sebastien Metrot <email@hidden>
  • Date: Tue, 07 Nov 2006 10:07:31 +0100

We had this problem with 2.4 too. It is fixed in 2.4.1.

Cheers,

Sebastien


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?

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

_______________________________________________ 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: Inline asm error?
  • Next by Date: Re: Inline asm error?
  • Previous by thread: Inline asm error?
  • Next by thread: Re: Inline asm error?
  • Index(es):
    • Date
    • Thread