Renesas Technology, Tools FAQs
Document Number: 01051107_e
Q.
When I try to link an object file created with CC32R V.1.00 Release 3 or older releases, linking with CC32R V.1.00 Release 4 or
newer releases, I get the "relocation out of range" error and the link cannot be completed.
Are there some differences between older releases and CC32R V.1.00 Release 4 and newer ones which could cause this problem?
A.
Yes, this occurs because the linker function (check function for when relocation size overflows) of CC32R V.1.00 Release 4 and
later does not support the relocation data of object files/library files created on CC32R V.1.00 Release 3 or older. As a result, the
proper error message will not be generated. In order to get the load module file, please use one of the following methods:
Re-compile or re-assemble the object file or library file using CC32R V.1.00 Release 4 or newer.a.
Specify the -RSW option (specifiable with lnk32R, cc32R) when linking. With the -RSW option, the linker changes the
"relocation out of range" error to a warning, then generates the load module.
b.
Specify the -RSN option (specifiable with lnk32R) when linking. The linker performs the overflow check on the relocation
size with the same conditions as in Release 3. This will suppress the "relocation out of range" error.
c.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Comentarios a estos manuales