-
Bug
-
Resolution: Duplicate
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-7750
-
C2000_20.2.1.LTS
-
default
-
Duplicate of CODEGEN-5488
The attached C file is a typical hello world program. The attached linker command file is typical for C28x, and has *not *been updated for EABI. Build it for EABI ...
% cl2000 --abi=eabi hello.c -z -w -o hello.out 28377S_FLASH_lnk.cmd <Linking> warning: creating output section ".bss" without a SECTIONS specification. For additional information on this section, please see the 'C28x EABI Migration' guide at http://processors.wiki.ti.com/index.php/C28x_EABI:C28x_EABI_Migration#C6x_EA BI_Sections warning: creating output section ".const" without a SECTIONS specification. For additional information on this section, please see the 'C28x EABI Migration' guide at http://processors.wiki.ti.com/index.php/C28x_EABI:C28x_EABI_Migration#C6x_EA BI_Sections warning: creating output section ".sysmem" without a SECTIONS specification. For additional information on this section, please see the 'C28x EABI Migration' guide at http://processors.wiki.ti.com/index.php/C28x_EABI:C28x_EABI_Migration#C6x_EA BI_Sections warning: creating output section ".init_array" without a SECTIONS specification. For additional information on this section, please see the 'C28x EABI Migration' guide at http://processors.wiki.ti.com/index.php/C28x_EABI:C28x_EABI_Migration#C6x_EA BI_Sections warning: creating output section ".data" without a SECTIONS specification warning: creating ".stack" section with default size of 0x400; use the -stack option to change the default size warning: creating ".sysmem" section with default size of 0x400; use the -heap option to change the default size
Focus on the first diagnostic. Ignore the rest. The web link in that diagnostic is not valid. It should be https://software-dl.ti.com/ccs/esd/documents/C2000_c28x_migration_from_coff_to_eabi.html#eabi-sections