RFH/RFC: symbol index overflow in MIPS linker stubs...

Thiemo Seufer ths@networkno.de
Wed Jun 7 23:22:00 GMT 2006


Daniel Jacobowitz wrote:
> On Wed, Jun 07, 2006 at 09:03:30PM +0100, Thiemo Seufer wrote:
> > Daniel Jacobowitz wrote:
> > > On Wed, Jun 07, 2006 at 08:27:59PM +0100, Thiemo Seufer wrote:
> > > > I would favour a two instruction sequence, applications will continue to
> > > > grow. There might be some compatibility traps, but at a superficial
> > > > glance I haven't found an obvious blocker.
> > > 
> > > If we can change the stub sequence without ABI problems, why waste an
> > > instruction?  Support both.
> > 
> > Will the stub section support varying entry sizes? I'm not sure.
> 
> This is solveable, as a simple matter of programming, or ignorable,
> by padding the shorter entries with a trailing nop.

The first two entries are handled specially, this makes the second
option more likely. OTOH, saving an instruction when we have anyway
branches and memory access in between is probably not worth much.


Thiemo



More information about the Binutils mailing list