Browse Source

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.
master
Szabolcs Nagy 11 years ago
committed by Rich Felker
parent
commit
7557a8462e
  1. 2
      src/fenv/armhf/fenv.s
  2. 1
      src/math/armhf/fabs.s
  3. 1
      src/math/armhf/fabsf.s
  4. 1
      src/math/armhf/sqrt.s
  5. 1
      src/math/armhf/sqrtf.s

2
src/fenv/armhf/fenv.s

@ -1,3 +1,5 @@
.fpu vfp
.global fegetround
.type fegetround,%function
fegetround:

1
src/math/armhf/fabs.s

@ -1,3 +1,4 @@
.fpu vfp
.text
.global fabs
.type fabs,%function

1
src/math/armhf/fabsf.s

@ -1,3 +1,4 @@
.fpu vfp
.text
.global fabsf
.type fabsf,%function

1
src/math/armhf/sqrt.s

@ -1,3 +1,4 @@
.fpu vfp
.text
.global sqrt
.type sqrt,%function

1
src/math/armhf/sqrtf.s

@ -1,3 +1,4 @@
.fpu vfp
.text
.global sqrtf
.type sqrtf,%function

Loading…
Cancel
Save