This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: relocation overflow
- From: Michel Dänzer <daenzer at debian dot org>
- To: Camm Maguire <camm at enhanced dot com>
- Cc: debian-powerpc at lists dot debian dot org, gcl-devel at gnu dot org, binutils at sources dot redhat dot com
- Date: 21 Nov 2002 15:56:48 +0100
- Subject: Re: relocation overflow
- Organization: Debian
On Mit, 2002-11-20 at 04:26, Camm Maguire wrote:
> Greetings! On ppc, GCL loads binary object modules at specific
> address in its lisp core, relocating them via a call to
> bfd_get_relocated_section_contents. This works in general, but in
> certain cases of many such loadings and a large base executable, the
> routine reports that function symbols in the module overflow on
> attempted relocation. I thought this was a TOC issue, and could be
> addressed via -mminimal-toc, but no dice. All tests thus far with gcc
> 2.95, but I'm inclined to think that 3.2 will be the same.
>
> Does this problem ring a bell (and hopefully a solution) with anyone?
Just a guess: maybe some code needs to be built with -fPIC?
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast