MIPS linker error with C++

gregory.menke at gsfc.nasa.gov gregory.menke at gsfc.nasa.gov
Fri Aug 22 11:56:56 UTC 2003


mikeci at acm.org writes:
 > Hi!
 > 
 > When I try to link cdtest program this is the linker error:
 > 
 > relocation truncated to fit: R_MIPS_GPREL16
 > 
 > 
 > Is there a solution for this problem?
 > 
 > 
 > Regards
 > 
 > Ivica

This is often associated with a linker script formatting error, or
possibly a section overflowing.  Sometimes it can be something as
simple as the ordering of sections.  If you post your linkcmds perhaps
we might be able to suggest something.

Gregm




More information about the users mailing list