9.50 --first=section_id

Places the selected input section first in its execution region. This can, for example, place the section containing the vector table first in the image.


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 one section can be placed first. For example: --first=reset.
Selects section from object. There must be no space between object and the following open parenthesis. For example: --first=init.o(init).
Selects the single input section in object. If you use this short form and there is more than one input section, the linker generates an error message. For example: --first=init.o.


The --first option cannot be used with --scatter. Instead, use the +FIRST attribute in a scatter file.
Related concepts
3.3.2 Section placement with the FIRST and LAST attributes
3.3 Section placement with the linker
Related reference
9.64 --last=section_id
9.102 --scatter=filename
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.