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


On 24/02/14 15:07, Yury Gribov wrote:
> 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
> 

Indeed, why would you need to place the PLT and GOT more than 256MB
apart?  That would be a pretty massive library on a 32-bit machine.

R.


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