DSPRelated.com
Forums

Re: error: relocation value truncated at 0x.... in section

Started by Yong Yang March 26, 2004
Hi, all
 
Thank you for your reply. Now my program can be compiled and loaded into memory, but can't run. It can run on Windows VC++ platform. Any possible reasons? Thank you
 
Yong
 
 
 Date: Wed, 24 Mar 2004 22:56:22 EST
   From: k...@aol.com
Subject: Re: error: relocation value truncated at 0x.... in section
.text

In a message dated 3/24/2004 6:10:29 AM Eastern Standard Time,
y...@yahoo.com writes:
Hi, all

When I compiled my C code project in CCS on EVM DM642, i got ots of
errors:
"error: relocation value truncated at 0x.... in section .text". What
does it
mean?

Thank you

Yong

to use Far Calls (Code&Data).  You can set this in your Project-Build
Options
under the Compiler tab.
The problem is simply the placement of your functions in memory is at
locations that exceeds the maximum address size your code can jump to
(because of the
memory model that you are using, which is most likely the small memory
model).

Hope this helps,
/Khalid

/Khalid