Support selection of different printf implementations
Support selection of different printf implementations provided by picolibc.
picolibc provides a mechanism based on --defsym linker option to select which printf implementation to use, see https://github.com/picolibc/picolibc/blob/main/doc/printf.md
This works with GNU LD, however does not work with LLD because of https://github.com/llvm/llvm-project/issues/52, there is a specific reference there https://github.com/llvm/llvm-project/issues/52
We need to either help progress the LLD change above or invent something different as a workaround.
If you split out the printf from scanf selection, at least you'd avoid pulling in the scanf code with this?
Was documented here https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/blob/main/docs/migrating.md#linker