[U-Boot] [PATCH 1/1] arm: fix -march for ARM11

Linus Walleij linus.walleij at linaro.org
Fri Nov 22 08:02:18 UTC 2019


On Tue, Nov 19, 2019 at 11:16 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:

> -march v5 is invalid for GCC 9.2.1. ARM11 is an armv6 implementation. So
> change the architecture flag for the compiler to armv6.
> Cf. https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
>
> Suggested-by: Fabio Estevam <festevam at gmail.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

After I read up on it I would add something to the commit saying
that the first -march=armv5 must have been wrong all the time
since there are no known implementations of
armv5, only armv5t, armv5te and armv5tej. Maybe add a link
to this:
https://gcc.gnu.org/gcc-9/changes.html

Yours,
Linus Walleij


More information about the U-Boot mailing list