You copied the Doc URL to your clipboard.


Specifies the target FPU architecture.


This topic includes descriptions of [BETA] features.

To obtain a full list of FPU architectures use the --fpu=list option.



Where name is the name of target FPU architecture. Specify --fpu=list to list the supported FPU architecture names that you can use with --fpu=name.


If you specify this option, it overrides any implicit FPU option that appears on the command line, for example, where you use the --cpu option.

The linker uses this option to optimize the choice of system libraries. The default is to select an FPU that is compatible with all of the component object files.



When using the ARMv8-M Security Extensions, use --fpu=softvfp to ensure that secure code does not link with any code that uses floating-point registers.

The linker fails if any of the component object files rely on features that are incompatible with the selected FPU architecture.


NEON support is disabled for softvfp.


The default target FPU architecture is derived from use of the --cpu option.

If the processor you specify with --cpu has a VFP coprocessor, the default target FPU architecture is the VFP architecture for that processor.