Hacker News new | ask | show | jobs
by ajb 506 days 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.
1 comments

They are also very useful if you care a lot about the size of the resulting binary.