7.3. bin Special Symbols

To facilitate writing code that copies itself from one location to another (e.g. from its LMA to its VMA during execution), the bin object format provides several special symbols for every defined section. Each special symbol begins with section. followed by the section name. The supported special bin symbols are:

section.sectname.start
Set to the LMA address of the section named sectname.
section.sectname.vstart
Set to the VMA address of the section named sectname.
section.sectname.length
Set to the length of the section named sectname. The length is considered the runtime length, so nobits` sections length is their runtime length, not 0.