From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: Alpha linker problems
Date: Mon, 27 Mar 2000 13:23:51 -0800 [thread overview]
Message-ID: <20000327132351.B27389@twiddle.net> (raw)
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~
prev parent reply other threads:[~2000-03-27 21:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-26 17:41 Alpha linker problems Stephen Williams
2000-03-26 20:01 ` Greg Lindahl
2000-03-26 21:27 ` Stephen Williams
2000-03-26 21:41 ` Rich Payne
2000-03-26 22:50 ` Greg Lindahl
2000-03-26 23:30 ` tibor
2000-03-27 2:27 ` Rich Payne
2000-03-27 2:40 ` Richard Henderson
2000-03-27 4:42 ` Greg Lindahl
2000-03-27 5:00 ` Stephen Williams
2000-03-27 5:04 ` Greg Lindahl
2000-03-27 21:23 ` Richard Henderson [this message]
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