This option 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.
Syntax
--first=section_id
Where section_id is
one of the following:
symbol
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
object(section)
Selects section from object.
There must be no space between object and
the following open parenthesis. For example: --first=init.o(init)
object
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
Usage
The --first option cannot be used with --scatter.
Instead, use the +FIRST attribute in a scatter file.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.