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.
Thank you very much for answering. Really appreciate it.
Its been a while since I posted this question here, so I guess I got the solution elsewhere.
But, let me ask you again If I got other issues.
Seems that TriNguyen has answered it.
Where exactly i have to add "-Xcall_jump=32" .
Please go to Compile Option Tab in CS+ -> Output code -> Specify jump instruction