This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: relocation overflow
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Camm Maguire <camm at enhanced dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, gcl-devel at gnu dot org,binutils at sources dot redhat dot com
- Date: Wed, 20 Nov 2002 13:57:17 -0500
- Subject: Re: relocation overflow
- References: <E18ELVW-0002rZ-00@intech19.enhanced.com> <20021120033243.GB997@bubble.sa.bigpond.net.au> <54of8krx88.fsf@intech19.enhanced.com>
On Wed, Nov 20, 2002 at 12:01:59PM -0500, Camm Maguire wrote:
> Greetings, and thanks for your reply.
>
> The relocation type is R_PPC_REL24. I've got the failure up now in
> gdb and can backtrace into the bfd library if this would help.
Presumably it won't help - bear in mind, this is a _24-bit_ relocation.
You have to load modules close enough that that suffices, or else you
have to insert trampolines for longer jumps... through a GOT or
whatever.
PowerPC GCC doesn't seem to have a long-calls option, so you're just
out of luck if you can't fit things in 16MB. Trampolines may be the
way to go.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer