From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11069 invoked from network); 27 Mar 2000 05:00:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Mar 2000 05:00:46 -0000 Received: from icarus.com (icarus.icarus.com [208.36.26.146]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA06385 for ; Mon, 27 Mar 2000 00:00:45 -0500 Received: from icarus.com (localhost [127.0.0.1]) by icarus.com (8.9.3/8.9.3) with ESMTP id VAA29204 for ; Sun, 26 Mar 2000 21:00:43 -0800 Message-Id: <200003270500.VAA29204@icarus.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: axp-list@redhat.com Subject: Re: Alpha linker problems In-Reply-To: Your message of "Sun, 26 Mar 2000 23:42:02 EST." <000201bf97a6$cb4c3e00$dd188f80@hptilap.hpti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Mar 2000 21:00:43 -0800 From: Stephen Williams glindahl@hpti.com said: > Ergo, one way to work around this is to split your source into more > files... Not as easy as it sounds. The C++ code is machine generated from a Verilog input file. And those input files can get pretty big. I guess it's not clear to me whether static symbols make a difference or not. If the .got section only stores addresses of global symbols, then that is something I can work on. I have a lot of member functions that C++ always makes external. I can replace them with ordinary, and static, functions if that would help. rth@twiddle.net said: > Each object file may reference only one of these subsections, thus > each object file is limited to 64k. 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. What things go into the .got subsection? External symbols? 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. -- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."