Re: PPC Assembly in Frameworks
Re: PPC Assembly in Frameworks
- Subject: Re: PPC Assembly in Frameworks
- From: Guillaume Borios <email@hidden>
- Date: Thu, 30 Aug 2001 13:37:47 +0200
Could you send me the beginning of your asm code to compare with mine? I
had the same error message building assembly code and I solved it using
".section regular,__DATA" like this :
.data
.text
.section regular,__DATA
.globl _ppc_zoom ;// name of the function to call by C program
_ppc_zoom:
addis r10,0,ha16(_ppcsize4) ; chargement _ppcsize4 -> r10
lwz r10,lo16(_ppcsize4)(r10)
addis r11,0,ha16(_coeffs) ; chargement de _coeffs ->r11
lwz r11,lo16(_coeffs)(r11)
...
I'm not an asm geek, so maybe I'm wrong... but this works for me
Actually, it was in a carbon program...
Guillaume
Le jeudi 30 ao{t 2001, ` 12:49 AM, Jaklyn McAurther a icrit :
Greetings,
I wrote some PPC assembly that works find in a test
application. Moving the assembly over to a framework
causes the following link failure:
ld:
/Network/Users/jaklyn/Projects/TheBigFramework/build/intermediates/TheBigFramework.
build/Objects/ppc/AssemblyFunctions.o
has local relocation entries in non-writable section
(__TEXT,__text)
I've found similar postings on the net about this type
of error from Openstep users, but all responses said
to ignore it since it was a warning. For me it is a
failure and not allowing my framework to compile
completely.
Anyone seen this before and have a solution?
Jaklyn
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev