From 7557a8462e3c973466ce082211520182f243dc2a Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 19 Oct 2015 02:05:58 -0400 Subject: declare fpu usage to the assembler in arm hard-float asm files Some armhf gcc toolchains (built with --with-float=hard but without --with-fpu=vfp*) do not pass -mfpu=vfp to the assembler and then binutils rejects the UAL mnemonics for VFP unless there is an .fpu vfp directive in the asm source. --- src/math/armhf/sqrtf.s | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/armhf/sqrtf.s') diff --git a/src/math/armhf/sqrtf.s b/src/math/armhf/sqrtf.s index 9ea519f6..91d8ad6d 100644 --- a/src/math/armhf/sqrtf.s +++ b/src/math/armhf/sqrtf.s @@ -1,3 +1,4 @@ +.fpu vfp .text .global sqrtf .type sqrtf,%function -- cgit v1.2.1