This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: PATCH: Enable PIC for mips*-*-*


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.


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