메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

Error occurred when optlnk of RX compiler is used. How can it be avoided?

Latest Updated:03/25/2013

Question:

The following error message is output when the optimizing linkage editor (optlnk) of the RX compiler is used. How can this be avoided?

L3100 (F) Section address overflow out of range

Answer:

The optimizing linkage editor (optlnk) of the RX compiler outputs the above error message when the allocation address of a section exceeds the memory space of the device.
Note that when the optimization option has been specified at linkage, the above error message will be output even when the linkage result before optimization exceeds the memory space of the device.

When a symbol that is not referenced is linked, try the method below because the error may be prevented with it.

The object files that are registered to a library file should be divided so that there is a file for each function as much as possible (one file per function).

The reason why the above method should be used is if multiple functions are defined in a single object file (.obj) that is registered to a library file, the whole file will be subject to linkage when one function in the file is referenced. Accordingly, functions which are not referenced will also be subject to linkage before optimization.

Suitable Products
C/C++ Compiler Package for RX Family