Re: Executable entry point
Re: Executable entry point
- Subject: Re: Executable entry point
- From: Quinn <email@hidden>
- Date: Tue, 20 Mar 2007 10:07:30 +0000
At 1:18 +0100 20/3/07, Jonas Maebe wrote:
This suggests to me that dyld doesn't get initialised properly. Have
you tried linking in /usr/lib/crt1.o already?
That's definitely a good idea. However, dyld will bind the main
executable to its imports before it calls the executable's entry
point (that is, the PC stored in the LC_UNIXTHREAD command). My
guess is that the Mach-O is not set up correctly to tell dyld to do
this binding. However, it's hard to diagnose these sorts of problems
without pouring through the Mach-O in detail.
Can you (Filipe) post the output from otool -l?
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden