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

nick clifton nickc@redhat.com
Fri Feb 21 14:24:00 GMT 2014


Hi Yury,

> Added ld/testsuite/ld-arm/long-plt-format.{s,d}. BTW are there any
> guidelines for writing tests? I was unable to find any...

The only guideline is "follow what has been done before".  Since you 
have done this, the new test looks fine.

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 ?  Presumably this would require a scan of 
the entries first, or maybe just the sizes of the object files, but I 
think that users would prefer to have something that just works rather 
than having to learn a new linker command line option.

Cheers
   Nick




More information about the Binutils mailing list