Cortex M0 Floating Point Library

Richard Henderson rth@twiddle.net
Fri Nov 9 14:43:00 GMT 2018


On 11/7/18 6:10 PM, Daniel Engel wrote:
> Also, loss of control of linking order would require all short branches in the libm section to be replaced with long branches.  This particularly impacts the exception handling in almost every function.

You could partially remedy this by placing all the code into a unique section,
e.g. ".text.m0fp".  The default linker script would place all instances of this
section together.  Additional tricks can be played if we're willing to modify
the linker scripts further.


r~



More information about the Gcc mailing list