Comment by ajb
1 year ago
Anyone wondering why you'd need a linker script: They are essential on bare metal, as you have to tell the linker where the hardware requires you to put stuff. There are lots in the linux kernel repo, u-boot, probably Arduino, etc.
They are also very useful if you care a lot about the size of the resulting binary.