arm: Check for support for the .fpu directive

When targeting COFF (windows), clang doesn't support this
directive (while binutils supports it for all targets).

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2016-07-18 23:23:50 +03:00
parent ed9b2a5178
commit 6f9e34baea
3 changed files with 13 additions and 3 deletions

View file

@ -24,7 +24,7 @@
/* override fpu so that NEON instructions are rejected */
#if HAVE_VFP
.fpu vfp
FPU .fpu vfp
ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch
#endif