| |||
| Home > Linker command-line options > --last=section_id | |||
This option places the selected input section last in its execution region. For example, this can force an input section that contains a checksum to be placed last in the RW section.
--last=section_id
Where is
one of the following:section_id
symbolSelects the section that defines .
You must not specify a symbol that has more than one definition
because only a single section can be placed last. For example: symbol--last=checksum
object(section)Selects the from section.
There must be no space between object and
the following open parenthesis. For example: object--last=checksum.o(check)
objectSelects the single input section from .
If there is more than one input section in object, armlink generates
an error message.object
The --last option cannot be used with --scatter.
Instead, use the +LAST attribute in a scatter file.