Crossware

Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Introduction

A linker script is an alternative way of instructing the linker to position relocatable sections in particular memory areas or at particular addresses.

The advantage of the linker script is that it can be used to specify different storage and run-time addresses for relocatable sections.  This is useful for instance if a subroutine is to be stored in ROM but executed in RAM or if it is mapped at runtime to an address that is different to it's storage address.