Hope can find solutions here.
1. I have a code like this:
----------------------------------------------------
#pragma section text "RAMCODE"
void ram_function(){
}
2. and this is my link setting:
-START=RAMCODE.text/00017000-START=RAMCODE.text.R/FEBF8000
-ROM=RAMCODE.text=RAMCODE.text.R
3 Last, There is another code that invoke ram_function()
main.c
int main(){
ram_function() /* This line is OFFSET "00000005" on main.prn */
and I got error like this
E0562330:Relocation size overflow : "obj\Appl\Source\main.o"-".text"-"00000005"
I use RH850-F1KM-S1, am I missing something here?
Hello,I faced the same issue, then I added "-Xcall_jump=32" into the ccrh complier option, then the issue could be resolved.Please have a try.
It works for me, Thank you very very much.
You are welcome!If you face any issue related to RH850 compilers or RH850 cores, don't hesitate to contact me. I am willing to help.