site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=NsuyU1j++l3bjRvyxplyxlFuJlQp7FYyUaHQR4OOeWE=; b=bmSdHiiKfrtcOPpljW5BYCaRKYOsqFK61+nPkHisSBp6/jVwRCglZjJeQLlQtJomZG xFuraTha1l6HpN3sH+iyt3Bi4/98/2XckbwY6KZcBaw+4TLbjTmB/Bd7ArstKCp6/5ct Za2AZA6In1dQ+N0oXU3LumSsNDNC8See10FVY= 2011/9/12 José Cornado <jose.cornado@gmail.com>:
First of all, I apologize if this is not the correct list and if this somehow a novice question. If there is a better suited list, please let me know.
If I wanted to change the default initial value of the VM address (executable) from 0x100000000 to another lower number, is this possible? Is this a linker option or compiler option? If possible, which side-effects could have?
You can use this, but why do you want to do it? -image_base address Specifies the perferred load address for a dylib or bundle. The argument address is a hexadecimal number with an optional leading 0x. By choosing non-overlapping address for all dylibs and bundles that a program loads, launch time can be improved because dyld will not need to "rebase" the image (that is, adjust pointers within the image to work at the loaded address). It is often easier to not use this option, but instead use the rebase(1) tool, and give it a list of dylibs. It will then choose non-overlapping addresses for the list and rebase them all. This option is also called -seg1addr for compatibility. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com