| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Oct 28, 2006, at 10:32 PM, John Reppy wrote:
I'm trying to help someone port a compiler (http://mlton.org) that generates
x86 assembly code, but we are having difficulty with calls to external C functions.
If we are calling a function _foo directly, we get a error from ld:
external relocation entries in non- writable section (__TEXT,__text) symbols:
_foo
but if we put in a stub as suggested by the "Mac OS X Assembler Reference"
.symbol_stub L_foo_stub: .indirect_symbol _foo hlt ; hlt ; hlt ; hlt ; hlt
we get the following error from the assembler:
missing indirect symbols for section (__TEXT,__symbol_stub)
Can someone explain what the root cause of this error message might be?
Hope this helps, Eric
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| References: | |
| >What is the meaning of "missing indirect symbols for section (__TEXT, __symbol_stub)"? (From: John Reppy <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.