Specifies the floating-point procedure call standard to advertise in the ELF header of the executable.
Note:
Not supported for AArch64 state.
Syntax
--output_float_abi=option
where option is one of the following:
auto
Checks the object files to determine whether the hard float or soft float
bit in the ELF header flag is set.
hard
The executable file is built to conform to the hardware floating-point
procedure-call standard.
soft
Conforms to the software floating-point procedure-call standard.
Usage
When the option is set to auto:
For multiple object files:
If all the object files specify the same value for the flag, then the
executable conforms to the relevant standard.
If some files have the hard float and soft float bits in the ELF header
flag set to different values from other files, this option is ignored
and the hard float and soft float bits in the executable are
unspecified.
If a file has the build attribute Tag_ABI_VFP_args set to 2, then
the hard float and soft float bits in the ELF header flag in the executable are
set to zero.
If a file has the build attribute Tag_ABI_VFP_args set to 3, then
armlink ignores this option.
You can use fromelf --text on the image to
see whether hard or soft float is set in the ELF header flag.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.