https://sourceware.org/bugzilla/show_bug.cgi?id=16017

--- Comment #7 from Markus Mayer <lotharlutz at gmx dot de> ---
I have attached a patch to create thumb plt entries. 

The patch has some issues:
- The plt entries are using tumb-2 instructions. When on an thumb only thumb-1
device, an error should be emitted.

- The plt0_entry for thumb-only is not converted yet. I will take care of it
the next couple of days

- The size of a plt entry is set the thumb-entry size (which breaks normal arm
linking). The plt size must be set according to whether we are on thumb-only,
or not. I have tried using 'using_thumb_only', but it seams like 'abfd' is not
fully initialized inside 'elf32_arm_link_hash_table_create' to work with
'using_thumb_only'.


Any help and feedback is welcome

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to