From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21950 invoked from network); 11 Sep 1998 18:45:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 11 Sep 1998 18:45:37 -0000 Received: from codonics.codonics.com (mta@codonics.codonics.com [206.99.131.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA32291 for ; Fri, 11 Sep 1998 14:46:12 -0400 Received: from codonics.com ([206.99.131.162]) by codonics.codonics.com (Post.Office MTA v3.1.2 release (PO203-101c) ID# 0-33978U100L100S0) with ESMTP id AAA11213; Fri, 11 Sep 1998 18:45:13 +0000 Message-ID: <35F96FA1.17447EE3@codonics.com> Date: Fri, 11 Sep 1998 14:44:49 -0400 From: borsburn@codonics.com (Bret Orsburn) Organization: Codonics, Inc. X-Mailer: Mozilla 4.04 [en] (WinNT; U) MIME-Version: 1.0 To: axp-list@redhat.com CC: Richard Henderson Subject: Re: Problem with Large Shared Libs? References: <199809111624.MAA14878@adder.cs.Virginia.EDU> <19980911110228.A26205@dot.cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Richard Henderson wrote: > > Greg Lindahl wrote: > > > Bret Orsburn wrote: > > > > > I wish I could find an authoritative statement of this .got limitation. > > > > The limitation seems to be in .o's, not in executables. > > Exactly so. Any one object file is compiled assuming a single > .got, which is hardware-limited to 64k. At link time, different > object files can be given different .got subsegments, but if > you ld -r them together, we loose information about where the > boundaries between object files had been. So, if you could connect the final dots for me: This means that the .got segment of a shared library (.so) must not exceed 64KB? Before I start pressing a vendor to partition their library, I want to be sure that I have the story straight! Thanks. ---- Bret Orsburn borsburn@codonics.com