Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: borsburn@codonics.com (Bret Orsburn)
To: axp-list@redhat.com
Cc: Richard Henderson <rth@cygnus.com>
Subject: Re: Problem with Large Shared Libs?
Date: Fri, 11 Sep 1998 14:44:49 -0400	[thread overview]
Message-ID: <35F96FA1.17447EE3@codonics.com> (raw)
In-Reply-To: 19980911110228.A26205@dot.cygnus.com

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


  reply	other threads:[~1998-09-11 18:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-11 16:24 Problem with Large Shared Libs? Greg Lindahl
1998-09-11 18:02 ` Richard Henderson
1998-09-11 18:44   ` Bret Orsburn [this message]
1998-09-11 19:04     ` Richard Henderson
1998-09-11 19:32       ` Bret Orsburn
  -- strict thread matches above, loose matches on Subject: below --
1998-09-10 17:45 Greg Lindahl
1998-09-11 14:50 ` Bret Orsburn
1998-09-10 14:18 Greg Lindahl
1998-09-10 17:27 ` Bret Orsburn
1998-09-11  7:03   ` Jochen Kuepper
1998-09-09 22:21 Greg Lindahl
1998-09-10  7:36 ` Jochen Kuepper
1998-09-10 13:56   ` Bret Orsburn
1998-09-09 20:30 Bret Orsburn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox