linux-mips
[Top] [All Lists]

Re: The Linux binutils 2.11.92.0.7 is released.

To: Klaus Naumann <spock@mgnet.de>
Subject: Re: The Linux binutils 2.11.92.0.7 is released.
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Tue, 23 Oct 2001 17:18:23 +0200
Cc: "H . J . Lu" <hjl@lucon.org>, linux-mips@oss.sgi.com, binutils@sourceware.cygnus.com
In-reply-to: <Pine.LNX.4.21.0110231440550.1967-100000@spock.mgnet.de>; from spock@mgnet.de on Tue, Oct 23, 2001 at 02:41:33PM +0200
References: <20011023131721.A12848@dea.linux-mips.net> <Pine.LNX.4.21.0110231440550.1967-100000@spock.mgnet.de>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Tue, Oct 23, 2001 at 02:41:33PM +0200, Klaus Naumann wrote:

> > > > 1. You don't compile shared libraries with -fpic/-fPIC.
> > > > 2. Even if you do, you may overflow GOT table.
> > > 
> > > Well, even adding -fpic doesn't help a whole lot.
> > > What is a GOT table ? And do you see any fix for the problem ?
> > 
> > -fpic is default on Linux/MIPS and as such adding that option won't have any
> > effect.
> 
> I also tried -fPIC . -Wa,-xgot is also the default. -G X doesn't
> change anything ...

-G is not supported with PIC and unless somebody really had his crack
bucketwise or otherwise hates performance -Wa,-xgot isn't default.  ATM
-fPIC is the same as -fpic but this might be changes to imply a large GOT
code model.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>