This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]