You copied the Doc URL to your clipboard.
--output_float_abi=option
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
is one of the following:option
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 to2
, 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 to3
, 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.
Default
The default option is auto
.