跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

Errors show after updating C/C++ Compiler Package to V.1.01 Release 00

Latest Updated:04/11/2012

Question:

After updating the C/C++ Compiler Package for RX Family to V.1.01 Release 00 or later, when I try to build a workspace created in an older version, I get the following errors.

L1120 (W) Section address is not assigned to "L"
L3100 (F) Section address overflow out of range : "L"

Answer:

In order to improve optimization effects in V.1.01 Release 00 and later versions, an L section was added to record literal areas such as the character string literal.
If the L section address is not specified, it will be assigned to an upper area of the fixed vector section and an address area error will occur.

To avoid this problem, use one of the following methods.

  1. (Recommended) Set the assigned address for the L section in the start option
    This method enables better code efficiency than Method 2, as it allows active use of the L section.

    Example:
    -start=B_1,R_1,B_2,R_2,B,R,SU,SI/01000,PResetPRG/0FFFF8000,C_1,C_2,C,L,
    C$*,D*,P,PIntPRG,W*/0FFFF8100,FIXEDVECT/0FFFFFFD0

    The High-performance Embedded Workshop setup routine is as follows.
    1. From the menu, open [Build] and select [RX Standard Toolchain].
    2. Click the [Optimization linker] tab, select [Section] from the category menu, and select [Section] from the setup item menu.
    3. Select the address area to assign to the L section from the displayed list, click the [Edit] or [Add] button and set the address to be assigned to the L section.

  2. Convert the L section to another section using the section option.

    Example:
    -section=L=C

    The High-performance Embedded Workshop setup routine is as follows.
    1. From the menu, open [Build] and select [RX Standard Toolchain].
    2. Click the [Compiler] tab.
    3. From the category menu, select [Object].
    4. Click [Details (D)], open the [Object details] dialog box.
    5. Select [Literal area] from the pull-down menu, enter [C] in the text box immediately below the menu, click the OK button and close the window.
    6. Click the [Standard Library] tab and repeat steps 3 to 5.

For information concerning compatibility with older versions and revisions, refer to the compiler package users’ manual at the following link.
Document List of the C/C++ Compiler Package for RX Family

Suitable Products
Renesas Starter Kit for RX210
Renesas Starter Kit for RX610
Renesas Starter Kit for RX62T
C/C++ Compiler Package for RX Family
Middleware and Drivers