Hi ,
I have a code like below.
__attribute__((used, long_call, section(".data"))) void function_1()
{
unsigned int a;
unsigned int b[10];
int c;
c= a-((a/ 10)* 10);
b[i] = c;
a= a/10;
}
when I tried to build I got the error as follows
1. relocation truncated to fit: R_ARM_THM_CALL against symbol `__aeabi_uidivmod' defined in .text section in C:/Program Files/GNU Tools ARM Embedded/4.8 2013q4/lib/gcc/arm-none-eabi/4.8.3/armv6-m\libgcc.a(_udivsi3.o)
2. relocation truncated to fit: R_ARM_THM_CALL against symbol `__aeabi_uidiv' defined in .text section in C:/Program Files/GNU Tools ARM Embedded/4.8 2013q4/lib/gcc/arm-none-eabi/4.8.3/armv6-m\libgcc.a(_udivsi3.o)
Can anyone suggest me and help me how I can resolve this issue.
Regards, Anand
EDIT: format