ARM long branch stub: pic

Christophe LYON christophe.lyon@st.com
Wed Feb 18 17:20:00 GMT 2009


On 18.02.2009 17:27, Daniel Jacobowitz wrote:
> On Wed, Feb 18, 2009 at 04:22:21PM +0100, Christophe LYON wrote:
>> Note that the current PIC stub is not correct (it uses a target address  
>> rather than an offset), I will send a separate patch for this later.
> 
> I don't understand - it looks like an offset to me.  I'll wait to see
> your next patch.
> 
Sorry I was confused by the buffers I was looking at and didn't describe 
the right thing. It's more that I think that in some combinations, the 
stub codes use instructions not available on older architectures.

> This is OK.  Please change "R_ARM_REL32(X)" to "R_ARM_REL32(X-4)" in
> the comment in the stub.
> 
Thanks, committed.


Christophe.



More information about the Binutils mailing list