Crossware

Table of Contents        Previous topic       Next topic       

LINKER->Linker Command Line Options->Translate Sections Names (/Ts)

If a linker script has been specified then this option causes the linker to translate the names of relocatable sections as follows:

__CODE is translated to .text
__arithmetic is translated to .text
__fpcode is translated to .text
__STRDATA is translated to .text
__CONST is translated to .text
__DCDATA is translated to .data
__UDATA is translated to .bss
__workspace is translated to .bss

In addition __DATA sections are discarded

This translation process and the removal of __DATA sections enables the linker to link code generated by the Crossware compiler with linker scripts that have been written for other vendors tool chains.