This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Enable PIC for mips*-*-*
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: Eric Christopher <echristo at cygnus dot com>, binutils at sourceware dot cygnus dot com, gcc-patches at gcc dot gnu dot org
- Date: 17 Nov 2001 00:40:00 -0200
- Subject: Re: PATCH: Enable PIC for mips*-*-*
- Organization: GCC Team, Red Hat
- References: <20011021101857.A4495@lucon.org><Pine.LNX.4.21.0110222152570.8335-100000@twigboy.cygnus.com><20011022215716.A2604@lucon.org>
On Oct 23, 2001, "H . J . Lu" <hjl@lucon.org> wrote:
> On Mon, Oct 22, 2001 at 09:53:44PM -0700, Eric Christopher wrote:
>> > This patch enables PIC for mips*-*-*.
>> >
>>
>> *reads further on thread*
>>
>> Is it not possible to fix libtool instead?
> Yes. This is the one:
> http://sources.redhat.com/ml/binutils/2001-10/msg00406.html
That patch is wrong on two accounts: you can't assume file_magic is
enough, and you're removing the comment that explains the reasoning,
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.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me