Use of -fPIC on Tru64

Joerg Faschingbauer jfasch@aon.at
Tue Dec 18 12:12:00 GMT 2001


> > The Linux dynamic loader implements loading non-PIC code. What you
> > lose though is sharing of text pages because text has to be patched
> > then.
> 
> What does this have to do with Tru64 where position independent code is part
> of the ABI ?
> 
> I appreciate and understand the motivation on systems such as Linux, but
> Tru64 is very different in this respect, and I still haven't seen a good
> argument to enable -fPIC on Tru64 for libgcc.

The message I replied to was something along "There are
implementations where you do not need PIC to load a shared library, so
there is no need to require PIC". You didn't say anything about Tru64
(though you did in a previous message), and I was nitpicking. Kind of.

Joerg



More information about the Gcc mailing list