Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen Williams <steve@icarus.com>
To: axp-list@redhat.com
Subject: Re: Alpha linker problems
Date: Sun, 26 Mar 2000 21:00:43 -0800	[thread overview]
Message-ID: <200003270500.VAA29204@icarus.com> (raw)
In-Reply-To: Your message of "Sun, 26 Mar 2000 23:42:02 EST." <000201bf97a6$cb4c3e00$dd188f80@hptilap.hpti.com>


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."



  reply	other threads:[~2000-03-27  5:00 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 [this message]
2000-03-27  5:04       ` Greg Lindahl
2000-03-27 21:23       ` Richard Henderson
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