Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Linker Script Language->Run-time Address

The run-time address expression of a section definition is optional and is specified using the BIND keyword:


A run-time address expression is normally only required if a precise run-time address is required.  For example:

__ttb_flash BIND(__ttb_low_start+(0X100*4)) :
__.ttb_flash_start = .;
    __.ttb_flash_end = .;

Wherever __ttb_low_start is, output section __ttb_flash needs to be located 400 hex bytes after it.  (In this case __ttb_low_start is also an output section.)

There is no LOAD expression in this example and so the storage address will be the same as the run-time address.