This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PIC is wasteful



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.
-Bsymbolic doesn't seem to do anything. At least it doesn't prevent
GOT entries
-Bsymbolic is a linker option, and it does do something at the linker
level.  However, the linker is unable to eliminate a GOT once the
compiler has created one.
That makes sense


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]