From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3252 invoked from network); 27 Mar 2000 21:23:53 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Mar 2000 21:23:53 -0000 Received: from piglet.twiddle.net (piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA04894 for ; Mon, 27 Mar 2000 16:23:52 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.9.3/8.9.3) id NAA27461 for axp-list@redhat.com; Mon, 27 Mar 2000 13:23:51 -0800 Date: Mon, 27 Mar 2000 13:23:51 -0800 From: Richard Henderson To: axp-list@redhat.com Subject: Re: Alpha linker problems Message-ID: <20000327132351.B27389@twiddle.net> References: <000201bf97a6$cb4c3e00$dd188f80@hptilap.hpti.com> <200003270500.VAA29204@icarus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <200003270500.VAA29204@icarus.com> On Sun, Mar 26, 2000 at 09:00:43PM -0800, Stephen Williams wrote: > Does you really mean that the *object file* is limited to 64K, or that the > .got subsection for each object file is limited to 64K. You must mean the > .got subsection is limited. Yes of course the later. > What things go into the .got subsection? External symbols? Currently any symbol. Though static symbols wouldn't have to if I got off my ass and fixed gas then gcc. > If I make some of the symbols static, will that keep them out of > the .got subsection? As I said, if this is the case, I can arrange > for my symbols to be made local to the file. Can you arrange to put them in a structure? E.g. static struct { int foo, bar, baz; } G; Now you've got one symbol instead of three. Gcc can even generate a bit better code with input like that. r~