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.

CCS/TMS320C6713B: Linker Warnings warning: creating output section .text:_c_int00 without SECTIONS specification

Part Number: TMS320C6713B
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello to all,

I hope someone could help me to solve some troubles I am facing when I try to build my project.

When I do "Build all" in the project, in the linking part I get 10 warnings and the *.obj file is not generated. Also, when linking part is executed I get an exception of win32.

I thank you in advance.

The linking warnings are the next ones:

[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section .text:_c_int00 without SECTIONS
            specification
>> warning: creating output section .text:_exit without SECTIONS specification
>> warning: creating output section .text:_atexit without SECTIONS specification
>> warning: creating output section .text:_abort without SECTIONS specification
>> warning: creating output section .text:__nop without SECTIONS specification
>> warning: creating output section .text:__register_lock without SECTIONS
            specification
>> warning: creating output section .text:__register_unlock without SECTIONS
            specification
>> warning: creating output section .text:__args_main without SECTIONS
            specification
>> warning: creating output section .text:__auto_init without SECTIONS
            specification
>> warning: creating output section .text:_memcpy without SECTIONS specification

Build Complete,
  0 Errors, 10 Warnings, 0 Remarks

The exception I get is the next one:

"An unhandled win32 exception occurred in lnk6x.exe[952]"

The Content of the vector files and .cmd file are the next:

lnk6713.cmd file:

-c
-heap  0x400
-stack 0x400  /* very large stack for DSP programs.*/
-rts6700.lib /* floating point library */

MEMORY
{
    vecs:       origin = 00000000h   len = 00000200h
    IRAM:       origin = 00000200h   len = 0003FE00h
    SDRAM:      origin = 80000000h      len = 01000000h
}

SECTIONS
{
    "vectors"   >       vecs
    .cinit      >       IRAM
    .text       >       IRAM
    .stack      >       IRAM
    .bss        >       IRAM
    .const      >       IRAM
    .data       >       IRAM
    .far        >       IRAM
    .switch     >       IRAM
    .sysmem     >       IRAM
    .tables     >       IRAM
    .cio        >       IRAM
        "_exit"     >       IRAM
    "CE0"               >               SDRAM
}

vectors.asm file:


    .ref    _c_int00
    .ref    _Codec_ISR

    .sect   "vectors"
RESET_RST:

    MVKL .S2 _c_int00, B0
    MVKH .S2 _c_int00, B0
    B    .S2 B0
        NOP
        NOP
        NOP
        NOP
    NOP
NMI_RST:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

RESV1:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

RESV2:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT4:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT5:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT6: NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT7:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT8:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT9:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT10:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT11:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT12:  b _Codec_ISR
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT13:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT14:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT15:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

vectors_EDMA file:


    .ref    _c_int00
    .ref        _EDMA_ISR

    .sect   "vectors"
RESET_RST:

    MVKL .S2 _c_int00, B0
    MVKH .S2 _c_int00, B0
    B    .S2 B0
        NOP
        NOP
        NOP
        NOP
    NOP
NMI_RST:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

RESV1:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

RESV2:
    NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT4:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT5:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT6: NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT7:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT8:   b _EDMA_ISR
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT9:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT10:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT11:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT12:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT13:   NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT14:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

INT15:  NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP

  • For some reason, the linker does not see the linker command file lnk6713.cmd as an input.  It probably has not been added to the project.

    I see you are using CCS version 3.1.  That is more than 20 years old.  It is very difficult to support tools so old.  Please upgrade to something more recent.  The latest versions of CCS are free.

    Please let me know if these suggestions resolve the problem.

    Thanks and regards,

    -George