PATCH: Enable PIC for mips*-*-*
H . J . Lu
hjl@lucon.org
Fri Nov 9 08:07:00 GMT 2001
On Mon, Nov 19, 2001 at 05:51:40PM +0100, Maciej W. Rozycki wrote:
> On Mon, 19 Nov 2001, H . J . Lu wrote:
>
> > > Please note that while linking PDC into a shared library technically does
> > > work for a number of systems, the resulting library is not shared anymore
> > > as it contains dynamic relocations in its text segment. Actually I recall
> > > a nice comment on relocations in text that was once sent by Roland McGrath
> > > here... Search the archive using "goat" and "relocations" keywords. ;-)
> >
> > I have to ask, what is PDC? In any case, linking against an archive
>
> Position dependent code (as opposed to PIC).
>
I don't believe it is supported by glibc. It may or may not work. I
don't think we made any promise it will always work. FWIW, what is
difference between linking against an archive which is not compiled
with PIC vs. a .o file which is not compiled with PIC? It has nothing
to do with archive.
H.J.
More information about the Binutils
mailing list