https://sourceware.org/bugzilla/show_bug.cgi?id=16017
--- Comment #11 from Nick Clifton <nickc at redhat dot com> --- Created attachment 7314 --> https://sourceware.org/bugzilla/attachment.cgi?id=7314&action=edit 3rd version of patch Hi Markus, [Sorry for the delay in responding - I have been sidetracked by other tasks]. Re: Detecting thumb_only inside create_dynamic_sections(). You are right - the normal function does not work. This is because at the time that create_dynamic_sections is called the attributes have not been copied from the input bfd to the output bfd. But... the attributes are still present in the input bfd, so you can test those. Re: Not converting BL into BLX - these was some code in final_link_relocate that assumed that PLT entries would always be in ARM mode, and so a BLX would always be needed. I have uploaded a revised version of your v2 patch with fixes for both of these problems. Please try it out and let me know if it works for you. Cheers Nick -- 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