This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: relocation overflow


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]