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
Subject: Re: Problem with Large Shared Libs?
Date: Fri, 11 Sep 1998 10:50:28 -0400	[thread overview]
Message-ID: <35F938B4.F419EBFB@codonics.com> (raw)
In-Reply-To: 199809101745.NAA01813@adder.cs.Virginia.EDU

Greg Lindahl wrote:
> Bret Orsburn wrote:
> > So, there is a size limit: A 64K limit on the .got section. What utility is
> > telling you that? I just get a seg fault at run time.
> 
> ld complains about the .got limitation. From looking at the bfd
> source, it looks like this is a hard limit.
>
> > From what I've been able to make out, our program is trying to jump to an
> > address that has not been adjusted to reflect the load address of the target.
> 
> That would be something I've never seen. Well, actually, it could be
> what I currently have; gdb isn't being very helpful, and I have to
> strip before linking because some of the stabs are longer than 4K,
> another limit in the file formats.
> 
> As for your program, you're sure the same program works on another
> platform? It pays to work to make sure the tools are guilty and not
> your code.

The program works on the Alpha when statically linked. The libs were developed
on another platform.

I wish I could find an authoritative statement of this .got limitation. The
statically linked version of our prog has a .got section that is considerably
larger than 64K, but seems to work fine. I can speculate on how that could be,
but the uncertainty leaves the issue unresolved.

What is the bfd you refer to above? The search engine at the LDP hasn't heard of
it.

The best doco I've found so far is the ELF spec (but not the Alpha version) and
a DEC OSF/1 Version 2 "Calling Standard for AXP Systems" spec.

----

	Bret Orsburn
	borsburn@codonics.com


  reply	other threads:[~1998-09-11 14:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-10 17:45 Problem with Large Shared Libs? Greg Lindahl
1998-09-11 14:50 ` Bret Orsburn [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-11 16:24 Greg Lindahl
1998-09-11 18:02 ` Richard Henderson
1998-09-11 18:44   ` Bret Orsburn
1998-09-11 19:04     ` Richard Henderson
1998-09-11 19:32       ` 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