I'm writing bare-metal microcontroller code and want to use simple math function from <math.h> like sqrtf(), but found impure_data in symbol list eats 0x428 bytes, from lib_a-impure.o.
It turns out that reentrant code is being linked in(according to this), how to avoid this behavior?
I'm using riscv64-unknown-elf toolchain, seems like it does not have newlib-nano. What else can I do? Some complier flag maybe?