Re: -mdynamic-no-pic on x86-32 vs 64
Re: -mdynamic-no-pic on x86-32 vs 64
- Subject: Re: -mdynamic-no-pic on x86-32 vs 64
- From: Kevin Van Vechten <email@hidden>
- Date: Fri, 11 Dec 2009 10:37:40 -0800
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden