[Buildroot] [PATCH] nettle: disable assembly optimizations for ARMv7M

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 27 08:13:48 UTC 2016


Hello,

On Wed, 27 Jul 2016 10:03:17 +0200, Peter Korsgaard wrote:

>  > I don't think this is equivalent. Indeed, ARMv6 doesn't have Thumb2 (at
>  > least from Buildroot point of view), while the assembly code in Nettle
>  > is OK for ARMv6.  
> 
> True, but then the commit message doesn't make any sense as it said it
> required thumb2 and classic in structions.

That's not what the commit message said. The commit message said:

"""
    nettle: disable assembly optimizations for ARMv7M
    
    It's thumb2-only and it requires ARM instructions.
"""

So it did not say at all that nettle requires Thumb-2 *and* classic. It
said that ARMv7M provides only thumb2, and that nettle requires ARM
instructions.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list