bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3


From: nickc at redhat dot com
Subject: [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3
Date: Thu, 05 Dec 2013 12:25:14 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]