Bare machine C with floating-point processing

If you want to use floating-point processing in an application without the C library you must:

Do not build your application with the --fpu=none option.

If you are using software floating-point support and a floating-point mode that requires a floating-point status word (--fpmode=ieee_fixed or --fpmode=ieee_full), you can also define the function __rt_fp_status_addr() to return the address of a writable data word to be used instead of the floating-point status register. If you rely on the default library definition of __rt_fp_status_addr(), this word resides in the program data section, unless you define __user_perthread_libspace() (or in the case of legacy code that does not yet use __user_perthread_libspace(), __user_libspace() ).

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0475C