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.

Relocation Overflow Error in OMAP L137 evm



Hi,

I am using code composer v4, code gen tools 7.3, OMAP L137 evm.

During the linking stage, I get these warnings:

warning: relocation from function "..." to symbol "..." overflowed; the 31-bit relocated address ... is too large to encode in the 31-bit signed PC-relative field.

The .OUT file was generated but unable to be run on the target.

I have already changed the mem_model to far but the error still persists.

Is it a problem with the size of the code and variables? or is it the memory location I place my code in.

MEMORY

{

    SDRAM : org = 0xC0000000, len = 0x1FFFFFFF

}

all variables and code are in SDRAM