[RFC][PATCH] Handle arbitrary .plt/.got displacements in ld on ARM

Yury Gribov y.gribov@samsung.com
Mon Feb 24 15:07:00 GMT 2014


Nick Clifton wrote:
> I wonder however whether it would be possible to remove the new command
> line option and have the linker automatically decide between using
> 28-bit or 32-bit PLT entries ?

The problem is that decision on PLT entry size is done long before we 
actually output PLT entries.
Fixing this would require a non-trivial code churn which I'm a bit 
scared to do...

Note that most of the people are probably ok with existing 28-bit 
entries (otherwise we'd know about this issue long ago).

-Y



More information about the Binutils mailing list