diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-10-19 02:05:58 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-10-19 02:05:58 -0400 |
commit | 7557a8462e3c973466ce082211520182f243dc2a (patch) | |
tree | a08dcfbea329b904a81fffbf6380afe7154adbfe /src/fenv/armhf/fenv.s | |
parent | 53cd8c5a29b57ef3776ce152e00544752f3ce790 (diff) | |
download | musl-7557a8462e3c973466ce082211520182f243dc2a.tar.gz musl-7557a8462e3c973466ce082211520182f243dc2a.tar.bz2 musl-7557a8462e3c973466ce082211520182f243dc2a.tar.xz musl-7557a8462e3c973466ce082211520182f243dc2a.zip |
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.
Diffstat (limited to 'src/fenv/armhf/fenv.s')
-rw-r--r-- | src/fenv/armhf/fenv.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fenv/armhf/fenv.s b/src/fenv/armhf/fenv.s index 387234bc..c1ffd2e4 100644 --- a/src/fenv/armhf/fenv.s +++ b/src/fenv/armhf/fenv.s @@ -1,3 +1,5 @@ +.fpu vfp + .global fegetround .type fegetround,%function fegetround: |