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:
parent
ed9b2a5178
commit
6f9e34baea
3 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue