PATCH: Enable PIC for mips*-*-*
H . J . Lu
hjl@lucon.org
Fri Nov 9 07:12:00 GMT 2001
More information about the Binutils mailing list
Fri Nov 9 07:12:00 GMT 2001
- Previous message (by thread): PATCH: Enable PIC for mips*-*-*
- Next message (by thread): PATCH: Enable PIC for mips*-*-*
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 19, 2001 at 01:29:59PM +0100, Maciej W. Rozycki wrote: > 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. ;-) I have to ask, what is PDC? In any case, linking against an archive when building a shared library has to work under Linux. It is how libgcc.a is used when building a shared library. If it doesn't work for certain platforms, it has to be fixed. H.J.
- Previous message (by thread): PATCH: Enable PIC for mips*-*-*
- Next message (by thread): PATCH: Enable PIC for mips*-*-*
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list