Re: -mdynamic-no-pic on x86-32 vs 64
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 11, 2009, at 9:39 AM, Joel Reymont wrote:
On Dec 11, 2009, at 5:33 PM, Shantonu Sen wrote:
-mdynamic-no-pic is not supported for x86_64 (it is silently ignored), which is why you don't get an error.
Any particular reason for ignoring this on x86-64?
x86_64 supports instruction pointer relative addressing (%rip) so there's virtually no penalty for PIC, and correspondingly no benefit from compiling without PIC. Kevin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Van Vechten