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?
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