Mei-Mei Su

MPC: Link Error   : Relocation (10) of symbol 'memcpy'

Discussion created by Mei-Mei Su on Dec 1, 2006
Latest reply on Dec 4, 2006 by CrasyCat
I am using CodeWarrior Development Studio, PPC ISA Comm. Processor Edition, version 8.1.4 Build 400817
 
When I tried to move the .text section from ROM to RAM I get the following link error message:
 
Link Error   : Relocation (10) of symbol 'memset'
in 'E:\Products\EPPC\Layout\PowerPC_EABI_Support\MSL\MSL_C\MSL_Common\Src\alloc.o' of archive 'MSL_C.PPCEABI.bare.S.UC.a'
is out of range.

Link Error   : Relocation (10) of symbol 'memcpy'
in 'E:\Products\EPPC\Layout\PowerPC_EABI_Support\MSL\MSL_C\MSL_Common\Src\direct_io.o' of archive 'MSL_C.PPCEABI.bare.S.UC.a'
is out of range.

Link failed.
 
When I did a google search on the problem, I found that someone else had an error like this and reported it in June 2005 and actually got a support number (SR 1-62972411), but I could not find any resolution.
 
Have anyone found a fix to this problem? Or do I have to just not use the libraries and compile my own?

Message Edited by CrasyCat on 2007-04-13 11:35 AM

Outcomes