Blog Archives
How to solve ld.lld error ‘relocation R_RL78_DIR16U_RAM out of RAM range’
Hello support team, I get the following errors. The project can be built by GNRL78 but cannot be built by LLVM-RL78. What can I do to solve the errors? ld.lld: error: C:/Renesas/GitHubDesktop/work/FreeRTOS/FreeRTOS/Demo/Common/Minimal\TimerDemo.c:1144:(.text._prvOneShotTimerCallback+0x59): relocation R_RL78_DIR16U_RAM out of RAM range: 1000910 is not
Question about generated code by LLVM-RL78 (code – 2021/05/18)
Hello support team, I found the following generated code by LLVM-RL78 in my program. I have three questions. (1) Why bit operation instructions aren’t used? (2) Generated code is bad, isn’t it? (3) Also this code works with only register
Question about generated code by LLVM-RL78 (code – 2021/05/13)
Hello support team, I found the following generated code by LLVM-RL78 in my program. My understanding is that LLVM-RL78 supports the register bank feature of RL78. But the following code works with only register bank 0. Is my understanding wrong? 00005938 _OUTLINED_FUNCTION_15:
Does LLVM-RL78 need the dedicated version of FDL library?
Hello support team, In my memory, GNURL78 needs the dedicated version of FDL library for re-programing data flash. And some library for re-programing code flash. I think that LLVM-RL78 needs such libraries. Is it right? Best regards, NoMaY
Is it possible to use newlib nano in case of LLVM-RL78?
Hello support team, Thank you for your replies but I have a new question. GNURL78 + e2 studio has an option to use newlib nano but LLVM-RL78 + e2 studio doesn’t have such option. Is it possible to use newlib nano
How to specify the medium memory model of CC-RL in case of LLVM-RL78?
Hello support team, CC-RL has two memory models. One is the small memory model: two bytes function pointer. The other is the medium memory model: four bytes function pointer. (In both cases, data pointer is two bytes if __far isn’t
Does LLVM-RL78 use the hardware multiplication/division peripheral unit of RL78/G13 or not?
Hello support team, I have an impression after reading the following documents that LLVM-RL78 always uses the unit. But the following code doesn’t use it. (I don’t want to use it.) Does LLVM-RL78 use it? LLVM-RL78-install-folder/user_manual.pdf LLVM-RL78-install-folder/release_notes.pdf unsigned short x,
Where is the document of LLVM-RL78 ABI
Hello support team, I’m looking for the document of LLVM-RL78 ABI between C and ASM. Where can I get it? Best regards, NoMaY
LLVM support for Code Generator or Smart Configurator for RL78/G14
LLVM does not support peripheral code generation tools like Code Generator and Smart Configurator for RL78/G14, How can I do this?
printf() usage in RX toolchain 20.04 change when optimisation change
Hello GNU Tools – Thanks for maintaining a wonderful and efficient toolchain! I recently discovered a strange behaviour, when using printf from the RX toolchain (Windows version 20.04). Until now (many versions of GNU toolchains for RX and H8), I

日本語