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, 21 Nov 2013 12:26:50 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #8 from Nick Clifton <nickc at redhat dot com> ---
Hi Markus,

> The size of a plt entry is set the thumb-entry size (which breaks
>  normal arm linking).

Have you tried setting the entry size in
elf32_arm_create_dynamic_sections() ?


> The plt entries are using tumb-2 instructions. When on an thumb only
> thumb-1 device, an error should be emitted.

You can use "! using_thumb2()" for this.


The patch itself looks good so far...

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]