[csl-arm] SymbianOS calls via PLT from thumb mode

Paul Brook paul@codesourcery.com
Tue Mar 29 16:20:00 GMT 2005


The SymbianOS PLT does not contain thumb stubs, so we need to use blx to jump 
to the plt entry from thumb mode.
Long-term we want to make this work for all armv5 targets, as discussed here:
http://sourceware.org/ml/binutils/2005-03/msg00438.html

I've applied the attached patch as a Symbian-specific short-term fix to the 
binutils-csl-arm-2005q1-branch.

Paul

2005-03-29  Julian Brown  <julian@codesourcery.com>

 * elf32-arm.c (elf32_arm_final_link_relocate): Use blx to get to
 symbian plt entries from thumb mode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 2477 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050329/80e68d8b/attachment.bin>


More information about the Binutils mailing list