Hi there,
-ffunction-sections and -fdata-sections MCU compiler flags are set in my project; and also --gc-sections MCU linker flag. However, lots of unused standard functions are linked to my application, such as read_r, _realloc_r, etc.
The build configuration is using my own linker script and I have unchecked 'Do not use default libraries (-nodefaultlibs)' at Tool Settings >> MCU Linker >> General

Any clue of what can be happening here?
Thanks in advance!