Hello all
I am using gcc for MIPS ( 3.3.x, target mips-elf).
I had problem during linking, (MIPS_GPREL_16 relocation truncated to fit
error occurs).
I set value of gp registers to appropriate value and used -mlong-calls and
-G0 switch to 
prevent this problem. 

However problem arise again depending on section size (bss, sbss, data,
sdata). Every time
that heppends I have to move gp again. I believe that this reloation is used
in gcc 
libraries (libgcc, stdc++, ...). Is that any chance these libraries to be
build without
mention relocation? 

Best regards Mile

Reply via email to