Linking very large programs with inadequate branch displacements

Alan Modra amodra@bigpond.net.au
Thu Aug 11 15:25:00 GMT 2005


On Thu, Aug 11, 2005 at 09:55:08AM -0500, Bill Yoder wrote:
> What we'd like to do is to open up a hole in the bfd output section  
> and insert a springboard in it, so that the offending instruction can  
> instead branch to that nearby springboard and then use an absolute  
> address embedded in the springboard to jump to the far-distant target.

See elf32-hppa.c and elf64-ppc.c for one method of doing this, and
elf32-ppc.c for another.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list