| |||
| Home > Linker Command-line Options > Command-line options listed alphabetically > --pad=num | |||
This option enables you to set a value for padding bytes. The linker assigns this value to all padding bytes inserted in load or execution regions.
--pad=num
Where is
an integer, which can be given in hexadecimal format. For example,
setting num to num0xFF might
help to speed up ROM programming time. If is
greater than num0xFF, then the padding byte is set
to (char).num
Padding is only inserted:
Within load regions. No padding is present between load regions.
Between fixed execution regions (in addition to forcing alignment). Padding is not inserted up to the maximum length of a load region unless it has a fixed execution region at the top.
Between sections to ensure that they conform to alignment constraints.