This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] MIPS16 addiupc relocation fix


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.

Attachment: addiupc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]