This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Why relocation truncated to fit: R_MIPS_26 again `memcpy'?
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.