question about the usage of VFP register on arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my arm cross compiler runs into an error like :
ld: error: a.out uses VFP register arguments, /tmp/ccGm43Jh.o does not

It seems ld requires all input files and output file has the same
attribute of Tag_ABI_VFP_args, which is set by gcc in assembler file
(.eabi_attribute 28, 1).
but I didn't find the place where gcc cope with it. I wonder is this
attribute controlled only by "-mfloat-abi"? -mfloat-abi=hard means "
Tag_ABI_VFP_args=1" while -mfloat-abi=soft/softfp means "
Tag_ABI_VFP_args=0"?is there any other compile option affect that
Any comments are welcome.


[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google