Why relocation truncated to fit: R_MIPS_26 again `memcpy'?

Pan ruochen panruochen@gmail.com
Mon Jun 15 06:30:00 GMT 2009


2009/6/13 Paul Koning <Paul_Koning@dell.com>:
>
> Yup.
>
> So a jump from x to y is valid whenever (x>>26) == (y >> 26) and out
> of range otherwise.
>
> It seems to work right for me...
>
>   paul
>
>

Maybe it is depended on the version of binutils. Currenltly, I use
another solution:
$sde-nm libc.img | awk '$2=="T"{printf("%s = 0x%s;\n",$3,$1)}' > libc.addr
$sde-ld -EL -T link.lds -o a.elf test.o -T libc.addr
without upgrading the binutils toolchains.



More information about the Binutils mailing list