declare fpu usage to the assembler in arm hard-float asm files
commit7557a8462e3c973466ce082211520182f243dc2a
authorSzabolcs Nagy <nsz@port70.net>
Mon, 19 Oct 2015 06:05:58 +0000 (19 02:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 19 Oct 2015 06:05:58 +0000 (19 02:05 -0400)
treea08dcfbea329b904a81fffbf6380afe7154adbfe
parent53cd8c5a29b57ef3776ce152e00544752f3ce790
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/fenv/armhf/fenv.s
src/math/armhf/fabs.s
src/math/armhf/fabsf.s
src/math/armhf/sqrt.s
src/math/armhf/sqrtf.s