提交 7557a846 编写于 作者: S Szabolcs Nagy 提交者: Rich Felker

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.
上级 53cd8c5a
.fpu vfp
.global fegetround
.type fegetround,%function
fegetround:
......
.fpu vfp
.text
.global fabs
.type fabs,%function
......
.fpu vfp
.text
.global fabsf
.type fabsf,%function
......
.fpu vfp
.text
.global sqrt
.type sqrt,%function
......
.fpu vfp
.text
.global sqrtf
.type sqrtf,%function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册