PIC is wasteful

Ian Lance Taylor iant@google.com
Fri Jun 24 18:45:00 GMT 2011


Agner Fog <agner@agner.org> writes:

> On 24-06-2011 17:21, Ian Lance Taylor wrote:
>>
>>> Is there no way to avoid 32 bit absolute addresses in 64 bit mode
>>> other than -fpic which has the undesired effect of using GOT and PLT
>>> entries?
>> -mcmodel=large.
> The large model is not supported. If it was, it would probably be
> inefficient.

The large model certainly is supported.

What version of gcc are you using?

Ian



More information about the Gcc-help mailing list