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.

How to specify one data section of one specified .lib file to be linked to one section in CMD file?

Hi,    

      I encountered one code size issue when I compile my application with c66x toolchain.

 I have been specified all .far section and .fardata section to be linked to L2SRAM.  

 .far     : > L2SRAM

 But the total size of my L2SRAM is 512K only. The codesize of the .far secion in one of my

library is very large and it can not be put into the local SRAM:

00800000    00052b00     os.lib : pbm.oe66 (.far:NDK_PACKETMEM) [fill = 0] 

So I planned to put this section to the exteranl memory DDR3. But how can I tell the linker

 to do that in my CMD file?

Thanks a lot!

B.R.

Sunzhao