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 Fri, 16 Nov 2001, H . J . Lu wrote:

> > and linking archives into shared libraries is wrong on a number of
> > platforms, and the way to tell libtool about it is use a different
> > setting in deplibs_check_method.
> 
> Feel free to get it right. My Linux binutils works fine under Linux.

 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. ;-) 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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