• 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: dynamic linker problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dynamic linker problem


  • Subject: Re: dynamic linker problem
  • From: Shantonu Sen <email@hidden>
  • Date: Sun, 12 Jun 2005 15:54:06 -0700

Note that this applies only to the 32-bit linker. The 64-bit linker for ppc64 emits LC_LOAD_DYLINKER load commands when linking MH_EXECUTE outputs, and does not embed it in crt1.o

Shantonu

On Jun 12, 2005, at 1:38 PM, Matt Watson wrote:


how do I force the LC_LOAD_DYLINKER load command into a Mach-O executable?




When crt1.o is linked, it passes /usr/lib/dyld as the first argument to the linker.

You will need to do something similar if you're writing your own crt1.o substitute.

matt.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40opendarwin.org


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >dynamic linker problem (From: Rob Ballantyne <email@hidden>)
 >Re: dynamic linker problem (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: dynamic linker problem
  • Next by Date: Mach-O and a 16Mb limit
  • Previous by thread: Re: dynamic linker problem
  • Next by thread: Mach-O and a 16Mb limit
  • Index(es):
    • Date
    • Thread