From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9NFIdk06875 for linux-mips-outgoing; Tue, 23 Oct 2001 08:18:39 -0700 Received: from dea.linux-mips.net (a1as15-p28.stg.tli.de [195.252.192.28]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9NFIXD06871 for ; Tue, 23 Oct 2001 08:18:33 -0700 Received: (from ralf@localhost) by dea.linux-mips.net (8.11.1/8.11.1) id f9NFINw03674; Tue, 23 Oct 2001 17:18:23 +0200 Date: Tue, 23 Oct 2001 17:18:23 +0200 From: Ralf Baechle To: Klaus Naumann Cc: "H . J . Lu" , linux-mips@oss.sgi.com, binutils@sourceware.cygnus.com Subject: Re: The Linux binutils 2.11.92.0.7 is released. Message-ID: <20011023171823.B3644@dea.linux-mips.net> References: <20011023131721.A12848@dea.linux-mips.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from spock@mgnet.de on Tue, Oct 23, 2001 at 02:41:33PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk 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