You copied the Doc URL to your clipboard.
--gnu_linker_defined_syms
Enables support for the GNU equivalent of input section symbols.
Note
The--gnu_linker_defined_syms
linker option is
deprecated.Usage
If you want GNU-style behavior when treating the Arm® symbols SectionName$$Base
and SectionName$$Limit
, then
specify --gnu_linker_defined_syms
.
Table 11-3 GNU equivalent of input sections
GNU symbol | Arm symbol | Description |
---|---|---|
__start_ |
|
Address of the start of the consolidated section called
. |
__stop_ |
|
Address of the byte beyond the end of the consolidated section
called
|
Note
A reference to
by a GNU input section symbol is sufficient for armlink to prevent the section from being removed as unused.SectionName
A reference by an Arm input section symbol is not sufficient to prevent the section from being removed as unused.