mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 04:05:05 +00:00
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.
This commit is contained in:
parent
53cd8c5a29
commit
7557a8462e
@ -1,3 +1,5 @@
|
||||
.fpu vfp
|
||||
|
||||
.global fegetround
|
||||
.type fegetround,%function
|
||||
fegetround:
|
||||
|
@ -1,3 +1,4 @@
|
||||
.fpu vfp
|
||||
.text
|
||||
.global fabs
|
||||
.type fabs,%function
|
||||
|
@ -1,3 +1,4 @@
|
||||
.fpu vfp
|
||||
.text
|
||||
.global fabsf
|
||||
.type fabsf,%function
|
||||
|
@ -1,3 +1,4 @@
|
||||
.fpu vfp
|
||||
.text
|
||||
.global sqrt
|
||||
.type sqrt,%function
|
||||
|
@ -1,3 +1,4 @@
|
||||
.fpu vfp
|
||||
.text
|
||||
.global sqrtf
|
||||
.type sqrtf,%function
|
||||
|
Loading…
Reference in New Issue
Block a user