You copied the Doc URL to your clipboard.

--last=section_id linker option

Places the selected input section last in its execution region.

--last= section_id

Where section_id is one of the following:


Selects the section that defines symbol . You must not specify a symbol that has more than one definition because only a single section can be placed last. For example: --last=checksum.


Selects the section from object . There must be no space between object and the following open parenthesis. For example: --last=checksum.o(check).


Selects the single input section from object . If there is more than one input section in object , armlink generates an error message.


The --last option cannot be used with --scatter. Instead, use the +LAST attribute in a scatter file.

This option can force an input section that contains a checksum to be placed last in the RW section.