This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320F28388D: What does ":" mean in the linker file?

Part Number: TMS320F28388D


Tool/software: TI C/C++ Compiler

I've been reading this article and noticed that ":" is used sometimes and not other times.

I currently have the following in my linker file:

my_section
{ 
    my_file.obj(.text)
} > FLASH5, ALIGN(8)

But would like to display the it like this so it matches the other assignments:

my_section
{ 
    my_file.obj(.text)
} : > FLASH5, ALIGN(8)

.text : > FLASH1
.cinit : > FLASH2
...
...
...

I get and error saying "#10026-D expecting output section, GROUP, or UNION...

If I remove the ":" all is good what does the ":" mean in the linker script?