summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9924310)
Clang 7 complains about the vmsr instruction in ArmV7Support.S,
which is only available on cores that implement some flavour of
VFP. So set the .fpu to NEON like we do in some other places.
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
#ifndef __clang__\r
mcr p10,#0x7,r0,c8,c0,#0\r
#else\r
#ifndef __clang__\r
mcr p10,#0x7,r0,c8,c0,#0\r
#else\r
+ # Set the FPU model so Clang does not choke on the next instruction\r
+ .fpu neon\r
vmsr fpexc, r0\r
#endif\r
bx lr\r
vmsr fpexc, r0\r
#endif\r
bx lr\r