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/TMS570LC4357: warning: entry-point symbol other than "_c_int00" specified: "xxxx_startup"

Part Number: TMS570LC4357

Tool/software: TI C/C++ Compiler

Good morning!

How can I reslove the following warning?

warning: entry-point symbol other than "_c_int00" specified:  "xxxx_startup"

I am using the following linker option to define manually the name of the boot strap: --entry_point=xxxx_startup

Thank you in advance for your help!

Mathieu

  • You probably use the linker option --rom_model or --ram_model.  These options tell the linker that C or C++ code is being linked, and several conventions specific to C/C++ should be observed.  Among these conventions is that the entry point of the program is the address of the symbol _c_int00.  This is a function, supplied in the RTS library that comes with the compiler, which initializes the environment required by a C/C++ program.  Among other things, the stack is set up, status bits are initialized, global variables are initialized, etc.  If you change the entry point to another symbol, you have to make sure the function that replaces _c_int00 also performs those steps.  Thus the warning.

    If it makes sense, suppress the diagnostic with the option --diag_suppress=10063.  To learn more about this option, and others like it, please search the TI ARM assembly tools manual for the sub-chapter titled Control Linker Diagnostics.

    Thanks and regards,

    -George

  • Thank you very much George for the advice! I can suppress the warning with the option.

    In which manual can I find the description of the warnings?

  • We do not document all the diagnostic messages.  Build with --display_error_number, and the diagnostic shows the ID number in the text.  For example ...

    warning #10063-D: entry-point symbol other than "_c_int00" specified:  "xxxx_startup"

    If -D is present, as it is in this case, then you can change the handling of the diagnostic with an option like --diag_suppress=10063.

    Thanks and regards,

    -George