ARM long branch stub: pic
Christophe LYON
christophe.lyon@st.com
Wed Feb 18 15:22:00 GMT 2009
Hello,
There is a bug when computing the target of a long branch stub in PIC
mode (it jumps 4 bytes too far). I propose the attached patch.
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.
A Thumb mapping symbol was also missing in the short v4t thumb->arm
stub, but this had no impact on the testsuite.
Validated on arm-none-eabi and arm-linux-gnueabi.
Christophe.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pic.changelog
URL: <https://sourceware.org/pipermail/binutils/attachments/20090218/d4a70895/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pic.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090218/d4a70895/attachment-0001.ksh>
More information about the Binutils
mailing list