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.

Placing data in Code Section Warning when including IPC package



I'm attempting to make a "Hello World" Syslink app, but when I include the IPC package in the .cfg file Code Composer produces a warning about putting data in a code section:

**** Build of configuration Debug for project Preprocessing ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building file: ../hello.cfg'

'Invoking: XDCtools'

"C:/Program Files/Texas Instruments/xdctools_3_20_08_88/xs" --xdcpath="C:/Program Files/Texas Instruments/bios_6_31_04_27/packages;C:/Program Files/Texas Instruments/ipc_1_22_03_23/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evmC6A8168 -r whole_program -c "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000" "../hello.cfg"

configuring hello.pe674 from package/cfg/hello_pe674.cfg ...

cle674 package/cfg/hello_pe674.c ...

lnke674 hello.pe674 ...

"package/cfg/hello.pe674.se674", WARNING! at line 35717: [W9999] Placing data in

a code section

(.text) is

discouraged.

The data may

be interpreted

as code. This

section will

not be

compressed.

b _c_int00

No Assembly Errors, 1 Assembly Warning

'Finished building: ../hello.cfg'

' '

'Building file: ../hello.c'

'Invoking: Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="hello.pp" --cmd_file="./configPkg/compiler.opt" "../hello.c"

'Finished building: ../hello.c'

' '

'Building target: Preprocessing.out'

'Invoking: Linker'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --diag_warning=225 --abi=eabi -z -m"Preprocessing.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --reread_libs --rom_model -o "Preprocessing.out" -l"./configPkg/linker.cmd" "./hello.obj" -l"libc.a"

<Linking>

'Finished building target: Preprocessing.out'

' '

Build complete for project Preprocessing

 

I'm not sure whether this warning is the cause of ProcMgr_load hanging, or just a coincidence.  How do I fix this?

Lee Holeva