You copied the Doc URL to your clipboard.

--gnu_linker_defined_syms

This option enables support for the GNU equivalent of input section symbols.

Table 2. GNU equivalent of input sections
GNU SymbolARM symbolDescription
__start_SectionNameSectionName$$BaseAddress of the start of the consolidated section called SectionName.
__stop_SectionNameSectionName$$LimitAddress of the byte beyond the end of the consolidated section called SectionName

Note

  • A reference to SectionName by a GNU input section symbol is sufficient for armlink to prevent the section from being removed as unused.

  • A reference by an ARM input section symbol is not sufficient to prevent the section from being removed as unused.

This option is enabled by default when you specify --arm_linux. It is disabled by default in all other cases.

Usage

If you want GNU-style behavior when treating the ARM symbols SectionName$$Base and SectionName$$Limit, then specify --gnu_linker_defined_syms.

See also

Reference
Was this page helpful? Yes No