Input and output section layout

Design a generic startup file and a linker script

How to design a generic startup file and a configurable linker script