[PATCH] MIPS16 addiupc relocation fix
Chung-Lin Tang
cltang@codesourcery.com
Sat Dec 10 09:51:00 GMT 2011
Hi Richard,
this is a small fix for MIPS16 pc-relative add relocations. The ADDIUPC
instruction clears the lower two address bits before adding.
Thanks,
Chung-Lin
2011-12-10 Chung-Lin Tang <cltang@codesourcery.com>
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Correct
R_MIPS16_LO16 handling of two cleared lower bits.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: addiupc.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20111210/ce4c9c1d/attachment.ksh>
More information about the Binutils
mailing list