This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: The Linux binutils 2.11.92.0.7 is released.
- To: Klaus Naumann <spock at mgnet dot de>
- Subject: Re: The Linux binutils 2.11.92.0.7 is released.
- From: Ralf Baechle <ralf at oss dot sgi dot com>
- Date: Tue, 23 Oct 2001 17:18:23 +0200
- Cc: "H . J . Lu" <hjl at lucon dot org>, linux-mips at oss dot sgi dot com, binutils at sourceware dot cygnus dot com
- References: <20011023131721.A12848@dea.linux-mips.net> <Pine.LNX.4.21.0110231440550.1967-100000@spock.mgnet.de>
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