12.101 --output_float_abi=option

Specifies the floating-point procedure call standard to advertise in the ELF header of the executable.

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.

Default

The default option is auto.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.