2023-05-18 06:17 AM
2023-05-18 07:52 AM
Probably to remove any clutter or associativity brought along by inference or use elsewhere.
Think garbage collection, or dead-code removal.
You could perhaps not do that, and see what clutter ends up in the .ELF file?
2023-05-18 02:20 PM
Because the ARM and CubeIDE gcc toolchains come with other standard libraries. They don't have names "libc" or "libgcc" or "libm".
This snippet in the linker script can be safely removed, unless you use some other toolchain.