Re: Inline asm error?
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